# 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
