8180311: [TESTBUG] gc/stress/gclocker/TestGCLockerWithSerial fails with ClassNotFoundException: java.lang.management.ManagementFactory
Summary: Do not run the test on minimal VM
Reviewed-by: shade, sjohanss
--- a/hotspot/test/ProblemList.txt Thu Aug 10 01:48:41 2017 +0000
+++ b/hotspot/test/ProblemList.txt Thu Aug 10 13:57:57 2017 +0200
@@ -125,7 +125,6 @@
gc/g1/logging/TestG1LoggingFailure.java 8169634 generic-all
gc/g1/humongousObjects/TestHeapCounters.java 8178918 generic-all
gc/stress/gclocker/TestGCLockerWithG1.java 8179226 generic-all
-gc/stress/gclocker/TestGCLockerWithSerial.java 8180311 generic-all
#############################################################################
--- a/hotspot/test/gc/stress/gclocker/TestGCLockerWithSerial.java Thu Aug 10 01:48:41 2017 +0000
+++ b/hotspot/test/gc/stress/gclocker/TestGCLockerWithSerial.java Thu Aug 10 13:57:57 2017 +0200
@@ -26,6 +26,7 @@
* @test TestGCLockerWithSerial
* @key gc
* @requires vm.gc.Serial
+ * @requires vm.flavor != "minimal"
* @summary Stress Serial's GC locker by calling GetPrimitiveArrayCritical while concurrently filling up old gen.
* @run main/native/othervm/timeout=200 -Xlog:gc*=info -Xmx1500m -Xmx1500m -XX:+UseSerialGC TestGCLockerWithSerial
*/