Summary of changes:
- Drop Thread.Builder.allowSetThreadLocals(boolean).
- Thread.ofVirtual, Thread.startVirtualThread, Executors.newVirtualThreadThread and other APIs that create virtual threads no longer throw UOE.
- Update @since to 21, and the equivalent in the JNI, JVMDI and JDWP specs. JEP 12 provides the guidance on this.
- Add @Hidden to a number of methods to reduce noise in stack traces, exposes a few bugs in stack walker
- A few robustness improvements for OOME and SOE scenarios.
- New system property to print a trace dump when virtual thread sets its own value of a TL.
- Update tests to drop @enablePreview/--enable-preview. This includes:
- Infrastructure for debugger tests no longer launches debuggee with --enable-preview.
- Updates to a small number of tests to allow them run with main wrapper plugin (CODETOOLS-7903373).
- Keep jdk.internal.javac.PreviewFeature.Feature.VIRTUAL_THREADS until JDK 22.
- Drop Thread.Builder.allowSetThreadLocals(boolean).
- Thread.ofVirtual, Thread.startVirtualThread, Executors.newVirtualThreadThread and other APIs that create virtual threads no longer throw UOE.
- Update @since to 21, and the equivalent in the JNI, JVMDI and JDWP specs. JEP 12 provides the guidance on this.
- Add @Hidden to a number of methods to reduce noise in stack traces, exposes a few bugs in stack walker
- A few robustness improvements for OOME and SOE scenarios.
- New system property to print a trace dump when virtual thread sets its own value of a TL.
- Update tests to drop @enablePreview/--enable-preview. This includes:
- Infrastructure for debugger tests no longer launches debuggee with --enable-preview.
- Updates to a small number of tests to allow them run with main wrapper plugin (
- Keep jdk.internal.javac.PreviewFeature.Feature.VIRTUAL_THREADS until JDK 22.
- csr for
-
JDK-8304920 Implementation of Virtual Threads
-
- Closed
-
- relates to
-
JDK-8303683 JEP 444: Virtual Threads
-
- Closed
-
-
JDK-8306006 strace001.java fails due to unknown methods on stack
-
- Resolved
-