RFR(s): 8152422: Optimize GC JPRT test set (original) (raw)

Dmitry Fazunenko dmitry.fazunenko at oracle.com
Wed Mar 23 17:28:25 UTC 2016


Hello,

may I have a couple of reviews for a quite trivial fix, which splits up the hotspot_gc jtreg group:

http://cr.openjdk.java.net/~dfazunen/8152422/webrev.00/ https://bugs.openjdk.java.net/browse/JDK-8152422

The purpose of the split is to parallelize the execution of GC tests in JPRT. Running the tests located under the gc/g1 folder takes approximately the same amount of time as running other tests.

To reduce the execution time (for ~20%) I propose to remove a couple of slow tests from JPRT run:

38,52 : gc/cms/TestMBeanCMS.java (former name test/gc/6581734/Test6581734.java) CMS is updating vary rare now, so it's very unlikely to break the area under this test

18,05 : gc/survivorAlignment/TestPromotionFromSurvivorToTenuredAfterMinorGC.java There will remain 3 very similar tests for survivor alignment 5,38 : gc/survivorAlignment/TestPromotionFromEdenToTenured.java 6,47 : gc/survivorAlignment/TestAllocationInEden.java 6,78 : gc/survivorAlignment/TestPromotionFromSurvivorToTenuredAfterFullGC.java so dropping this test will not create a gap in testing.

I also restored test which were excluded from JPRT execution a year ago: 90,66 : gc/g1/TestGreyReclaimedHumongousObjects.java the test is the slowest one, but after the split it fits the budget.

If someone has objections on adding/removing JPRT tests, please speak up.

Thanks, Dima

PS: The new statistics (taken from linux_i586_3.8-fastdebug-c1-hotspot_gc_*.log) now looks like: :hotspot_gc_1*

SUMMARY: Totat tests: 45 Totat time: 4m 46s

:hotspot_gc_2*

gc/survivorAlignment/TestPromotionFromSurvivorToTenuredAfterFullGC.java 6,63 : gc/arguments/TestTargetSurvivorRatioFlag.java 6,63 : gc/CondCardMark/Basic.java 7,15 : gc/arguments/TestMaxNewSize.java 7,63 : gc/arguments/TestSurvivorRatioFlag.java 10,69 : gc/metaspace/TestMetaspacePerfCounters.java 14,45 : gc/cms/DisableResizePLAB.java 27,59 : gc/arguments/TestShrinkHeapInSteps.java 40,39 : gc/arguments/TestMaxMinHeapFreeRatioFlags.java SUMMARY: Totat tests: 81 Totat time: 3m 59s

-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20160323/93f38f2e/attachment.htm>



More information about the hotspot-gc-dev mailing list