Add java25-features module: the 18 JEPs of JDK 25 with runnable demos, captured output and compile-error cases

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b5uFE41EgmSXEP4axJ
This commit is contained in:
asmhatre
2026-11-25 13:17:10 +05:30
co-authored by Claude Sonnet 5.5
parent 876ae1bb5c
commit e5877f4bcf
35 changed files with 445 additions and 1 deletions
+8
View File
@@ -0,0 +1,8 @@
$ java -XX:StartFlightRecording:filename=cpu.jfr,jdk.CPUTimeSample#enabled=true,jdk.CPUTimeSample#throttle=10ms CpuWork (25.0.5.1)
top frame of each jdk.CPUTimeSample event (counts vary run to run):
148 CpuWork.hot(int)
$ java -XX:StartFlightRecording:filename=mt.jfr,method-timing=CpuWork::hot,method-trace=CpuWork::cold CpuWork
method = CpuWork.hot(int)
invocations = 340
jdk.MethodTrace events for CpuWork.cold: 340