JDK-8294146 : Review running times of virtual thread regression tests
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.lang
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2022-09-21
  • Updated: 2022-12-14
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Relates :  
Relates :  
Description
java/lang/Thread/virtual/stress/PingPong.jtr 56911
jjava/lang/Thread/virtual/ThreadAPI_id0.jtr 34439
java/lang/Thread/virtual/ThreadAPI_id1.jtr 32523
java/lang/Thread/virtual/stress/TimedGet.jtr 32337
java/lang/Thread/virtual/stress/Skynet_id0.jtr 31414
java/lang/Thread/virtual/stress/GetStackTraceALot_id0.jtr 25777
java/lang/Thread/virtual/stress/YieldALot_id0.jtr 25548

Comments
Just a quick update on this. Execution times vary a lot but on one OL 9.6 host the virtual threads and continuations tests in the test/jdk tree that take more than 10s are: java/nio/channels/vthread/BlockingChannelOps_default.jtr 113245 java/nio/channels/vthread/BlockingChannelOps_no-vmcontinuations.jtr 113125 java/nio/channels/vthread/BlockingChannelOps_indirect-register.jtr 113084 java/net/vthread/HttpALot.jtr 77208 java/net/vthread/BlockingSocketOps_default.jtr 51582 java/net/vthread/BlockingSocketOps_indirect-register.jtr 51512 java/net/vthread/BlockingSocketOps_no-vmcontinuations.jtr 51488 jdk/incubator/concurrent/StructuredTaskScope/StructuredTaskScopeTest.jtr 51005 jdk/internal/misc/ThreadFlock/ThreadFlockTest.jtr 39124 java/lang/Thread/virtual/ThreadAPI_id0.jtr 33599 jdk/internal/vm/Continuation/Fuzz_preserve-fp.jtr 32045 jdk/internal/vm/Continuation/Fuzz_default.jtr 31928 java/lang/Thread/virtual/ThreadAPI_id1.jtr 31524 java/lang/Thread/virtual/stress/GetStackTraceALot_id0.jtr 31143 java/lang/Thread/virtual/stress/Skynet_id0.jtr 24142 java/util/concurrent/ThreadPerTaskExecutor/ThreadPerTaskExecutorTest.jtr 20957 java/lang/Thread/virtual/stress/PingPong.jtr 20516 java/lang/Thread/virtual/stress/SleepALot_id0.jtr 18342 java/util/concurrent/ExecutorService/CloseTest.jtr 15854 java/lang/Thread/virtual/Parking.jtr 12089 With improvements JDK-8294375, JDK-8293940 and JDK-8294610, this changes to: jdk/internal/vm/Continuation/Fuzz_preserve-fp.jtr 32735 jdk/internal/vm/Continuation/Fuzz_default.jtr 32309 java/lang/Thread/virtual/stress/TimedGet.jtr 25204 java/lang/Thread/virtual/stress/GetStackTraceALot_id0.jtr 24972 java/lang/Thread/virtual/stress/YieldALot_id0.jtr 24667 jdk/incubator/concurrent/StructuredTaskScope/StructuredTaskScopeTest_platform.jtr 14886 jdk/incubator/concurrent/StructuredTaskScope/StructuredTaskScopeTest_virtual.jtr 14700 jdk/internal/misc/ThreadFlock/ThreadFlockTest_platform.jtr 14667 jdk/internal/misc/ThreadFlock/ThreadFlockTest_virtual.jtr 14599 java/lang/Thread/virtual/stress/SleepALot_id0.jtr 14436 java/lang/Thread/virtual/ThreadAPI_default.jtr 13291 java/lang/Thread/virtual/Parking.jtr 12370 java/lang/Thread/virtual/ThreadAPI_no-vmcontinuations.jtr 10577 Note that there is high variation in the execution of the reliability/stress tests, it all depends on jtreg concurrency and the other tests that happen to be running concurrently.
30-09-2022