Add java21-to-25 module: compile-once probes on JDK 21 and 25, removed APIs, build matrix, pinning, compact headers and containers
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b7N4ZDbUtA3ofqAqRV
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# 11-pinning: compiled once on 21; run with -Djdk.virtualThreadScheduler.parallelism=2. Elapsed times are machine dependent
|
||||
--- PinningProbe
|
||||
[21.0.13.1] java 21: 20 threads, 100 ms sleep inside synchronized
|
||||
[21.0.13.1] elapsed = 1037 ms, jdk.VirtualThreadPinned events = 20
|
||||
[25.0.5.1] java 25: 20 threads, 100 ms sleep inside synchronized
|
||||
[25.0.5.1] elapsed = 111 ms, jdk.VirtualThreadPinned events = 0
|
||||
--- ClassInitPinningProbe
|
||||
[21.0.13.1] java 21: 8 classes, 100 ms sleep inside each static initializer
|
||||
[21.0.13.1] elapsed = 430 ms, jdk.VirtualThreadPinned events = 8
|
||||
[25.0.5.1] java 25: 8 classes, 100 ms sleep inside each static initializer
|
||||
[25.0.5.1] elapsed = 423 ms, jdk.VirtualThreadPinned events = 8
|
||||
[25.0.5.1] first event pinnedReason = VM call to ClassInitPinningProbe$C0.<clinit> on stack
|
||||
--- PinningProbe with -Djdk.tracePinnedThreads=short (first lines)
|
||||
[21.0.13.1] VirtualThread[#24]/runnable@ForkJoinPool-1-worker-2 reason:MONITOR
|
||||
[21.0.13.1] PinningProbe.lambda$main$0(PinningProbe.java:25) <== monitors:1
|
||||
[21.0.13.1] java 21: 20 threads, 100 ms sleep inside synchronized
|
||||
[25.0.5.1] java 25: 20 threads, 100 ms sleep inside synchronized
|
||||
[25.0.5.1] elapsed = 113 ms, jdk.VirtualThreadPinned events = 0
|
||||
Reference in New Issue
Block a user