8180311: [TESTBUG] gc/stress/gclocker/TestGCLockerWithSerial fails with ClassNotFoundException: java.lang.management.ManagementFactory
authortschatzl
Thu, 10 Aug 2017 13:57:57 +0200
changeset 46788 fb479838027c
parent 46787 845abb5e8ea8
child 46789 1bf8c1e8b79a
child 46790 8c4deba6a0ee
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
hotspot/test/ProblemList.txt
hotspot/test/gc/stress/gclocker/TestGCLockerWithSerial.java
--- 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
  */