-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
b04
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8331055 | 22.0.2 | Aleksey Shipilev | P4 | Resolved | Fixed | b05 |
JDK-8339071 | 21.0.6-oracle | Hamza Ben Yazid | P4 | Resolved | Fixed | b01 |
JDK-8331101 | 21.0.4 | Aleksey Shipilev | P4 | Resolved | Fixed | b01 |
- The existing tests for pinning use synchronized blocks. In preparation for changes to allow carrier thread be released when a virtual threads parks or blocked on monitorenter, the tests are changed to pin by having a native frame on the stack. This includes some test infrastructure to make it easy to add further tests for pinning.
- The test for the JFR jdk.VirtualThreadPinned event is refactored to allow for additional cases where the event may be reported.
- ThreadAPI is expanded to cover more cases of UHE.
- GetStackTraceWhenRunnable is refactored to not use a Selector, this is in preparation for changes that will release the carrier when a selection operation needs to block.
- StressStackOverflow is dialed down to run for 1 instead of 2 mins.
- A few misc. cleanups, such as CarrierThreadWaits changed to use assertEquals rather than assertTrue.
- backported by
-
JDK-8331055 Virtual thread test updates
- Resolved
-
JDK-8331101 Virtual thread test updates
- Resolved
-
JDK-8339071 Virtual thread test updates
- Resolved
- relates to
-
JDK-8317817 java/lang/Thread/virtual/CarrierThreadWaits.java#id1 failed "CarrierThreadWaits::testCarrierThreadWaiting 'testCarrierThreadWaiting()'"
- Closed
- links to
-
Commit openjdk/jdk21u-dev/41237fce
-
Commit openjdk/jdk22u/890e0466
-
Commit openjdk/jdk/b67b71cd
-
Review openjdk/jdk21u-dev/328
-
Review openjdk/jdk22u/160
-
Review openjdk/jdk/17136