JDK-8294136 : Review running times of hotspot tier 1 regression tests (umbrella)
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: test
  • Affected Version: 20
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2022-09-21
  • Updated: 2024-04-01
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.
JDK 24
24Unresolved
Related Reports
Relates :  
Relates :  
Sub Tasks
JDK-8295561 :  
Description
There are approximately 2,100 HotSpot regression tests. Most run in a few seconds; a number of tests take a minute or longer. The 75 longest running tests on one machine are:

compiler/intrinsics/string/TestStringLatin1IndexOfChar.jtr 163823
gc/stress/gcbasher/TestGCBasherWithSerial.jtr 123281
gc/stress/gcbasher/TestGCBasherWithG1.jtr 123002
gc/stress/gcbasher/TestGCBasherWithParallel.jtr 122995
runtime/NMT/VirtualAllocCommitMerge.jtr 111557
gc/g1/humongousObjects/TestHumongousClassLoader.jtr 101774
gc/g1/humongousObjects/TestNoAllocationsInHRegions.jtr 93533
gc/z/TestHighUsage.jtr 92634
gc/g1/TestGreyReclaimedHumongousObjects.jtr 92491
compiler/arraycopy/TestArrayCopyConjoint.jtr 76034
gc/z/TestUncommit.jtr 67536
runtime/Monitor/SyncOnValueBasedClassTest.jtr 63714
runtime/Thread/AsyncExceptionOnMonitorEnter.jtr 62529
gc/TestReferenceRefersTo.jtr 61695
serviceability/monitoring/ThreadInfo/GetLockOwnerName/GetLockOwnerName.jtr 61377
serviceability/jvmti/SuspendWithObjectMonitorEnter/SuspendWithObjectMonitorEnter.jtr 61312
runtime/Thread/SuspendAtExit.jtr 61229
serviceability/jvmti/SuspendWithObjectMonitorWait/SuspendWithObjectMonitorWait.jtr 60936
serviceability/jvmti/SuspendWithRawMonitorEnter/SuspendWithRawMonitorEnter.jtr 60845
serviceability/jvmti/Heap/IterateHeapWithEscapeAnalysisEnabled.jtr 60544
gc/g1/humongousObjects/TestHumongousNonArrayAllocation.jtr 55211
compiler/codegen/TestGCMStorePlacement.jtr 53759
serviceability/sa/ClhsdbFindPC_xcomp-core.jtr 48702
runtime/NMT/CommitOverlappingRegions.jtr 45985
runtime/clinit/ClassInitBarrier.jtr 44777
compiler/loopopts/superword/Vec_MulAddS2I.jtr 42814
serviceability/sa/ClhsdbFindPC_no-xcomp-core.jtr 42737
compiler/c2/irTests/TestVectorizeURShiftSubword.jtr 39121
gc/shenandoah/oom/TestClassLoaderLeak.jtr 37509
compiler/codegen/TestTrichotomyExpressions.jtr 34507
compiler/intrinsics/unsafe/HeapByteBufferTest_id1.jtr 34125
runtime/NMT/VirtualAllocCommitUncommitRecommit.jtr 33442
runtime/stringtable/StringTableCleaningTest.jtr 33412
compiler/intrinsics/unsafe/HeapByteBufferTest_id0.jtr 33379
compiler/intrinsics/unsafe/DirectByteBufferTest.jtr 31635
runtime/Thread/SetNameAtExit.jtr 31467
runtime/Thread/AsyncExceptionTest.jtr 31430
runtime/Thread/SetPriorityAtExit.jtr 31068
runtime/Thread/InterruptAtExit.jtr 31018
runtime/Thread/StopAtExit.jtr 30827
runtime/Thread/IsInterruptedAtExit.jtr 30632
compiler/loopopts/superword/SumRedSqrt_Double.jtr 30361
compiler/memoryinitialization/ZeroTLABTest.jtr 29318
compiler/classUnloading/methodUnloading/TestOverloadCompileQueues.jtr 28377
compiler/jvmci/compilerToVM/IterateFramesNative.jtr 27871
serviceability/jvmti/SetBreakpoint/TestManyBreakpoints.jtr 26126
serviceability/sa/ClhsdbCDSCore.jtr 26095
compiler/loopopts/superword/SumRed_Double.jtr 24453
compiler/gcbarriers/UnsafeIntrinsicsTest_Z.jtr 24278
compiler/gcbarriers/UnsafeIntrinsicsTest_Shenandoah.jtr 23412
compiler/codegen/Test7100757.jtr 22553
serviceability/jvmti/vthread/SuspendResume1/SuspendResume1.jtr 22191
compiler/jsr292/methodHandleExceptions/TestAMEnotNPE.jtr 22047
gc/shenandoah/mxbeans/TestChurnNotifications_iu.jtr 21626
runtime/handshake/MixedHandshakeWalkStackTest.jtr 21534
gc/ergonomics/TestDynamicNumberOfGCThreads.jtr 20394
gc/shenandoah/mxbeans/TestPauseNotifications_iu.jtr 20294
runtime/NMT/CheckForProperDetailStackTrace.jtr 20112
gc/g1/TestPeriodicCollection.jtr 20106
compiler/c2/TestUnsignedByteCompare1.jtr 19940
runtime/NMT/ThreadedVirtualAllocTestType.jtr 19899
compiler/intrinsics/string/TestCountPositives.jtr 19860
compiler/intrinsics/string/TestHasNegatives.jtr 19807
compiler/c2/TestShiftRightAndAccumulate_id0.jtr 19755
runtime/logging/RedefineClasses.jtr 18721
gc/shenandoah/options/TestThreadCounts.jtr 18010
compiler/types/correctness/OffTest.jtr 17986
compiler/loopopts/TestInfLoopNearUsePlacement.jtr 17958
runtime/Shutdown/ShutdownTest.jtr 17825
runtime/exceptionMsgs/ArrayIndexOutOfBoundsException/ArrayIndexOutOfBoundsExceptionTest_id1.jtr 17822
runtime/NMT/PrintNMTStatistics.jtr 17745
serviceability/jvmti/RedefineClasses/TestMultipleClasses.jtr 17605
runtime/NMT/NMTInitializationTest_default_long-detail.jtr 17393
runtime/NMT/NMTInitializationTest_normal-detail.jtr 17258
runtime/NMT/VirtualAllocTestType.jtr 17201

The tests were extracted using the shell command

grep "^totalTime" `find JTwork/ -name "*.jtr"` | sed s/"JTwork\/"//g | sed s/":totalTime="/" "/g | sort --n  -r -t' ' -k2 | head -n 75