Experimental Rig & Verification Methodology
The lock comparisons use a synthetic 500 ms payment operation and 10 closed-loop k6 virtual users with one carrier. The connection-held ablation uses a separate 300 ms hold, embedded H2 and 50 virtual users. JFR records qualifying pin events. On the Java 21 lock runs, the threshold was 20 ms.
See the methodology and census, results tables, and run-level lock metrics. The persistence analysis script calculates the connection pool figures from k6 order-duration points.