8155527: New test TestHumongousClassLoader fails with "-XX:+ExplicitGCInvokesConcurrent" option
authorkzhaldyb
Thu, 28 Apr 2016 16:55:04 +0300
changeset 38122 9f1dd2adb9fd
parent 38121 b9649af838e0
child 38123 04da6a12ab0d
8155527: New test TestHumongousClassLoader fails with "-XX:+ExplicitGCInvokesConcurrent" option Reviewed-by: dfazunen, drwhite, jwilhelm
hotspot/test/gc/g1/humongousObjects/TestHumongousClassLoader.java
--- a/hotspot/test/gc/g1/humongousObjects/TestHumongousClassLoader.java	Thu Apr 28 17:58:18 2016 +0300
+++ b/hotspot/test/gc/g1/humongousObjects/TestHumongousClassLoader.java	Thu Apr 28 16:55:04 2016 +0300
@@ -40,6 +40,7 @@
  * @summary Checks that unreachable classes and unreachable humongous class loader are unloaded after GC
  * @requires vm.gc=="G1" | vm.gc=="null"
  * @requires vm.opt.G1HeapRegionSize == "null" | vm.opt.G1HeapRegionSize == "1M"
+ * @requires vm.opt.ExplicitGCInvokesConcurrent != true
  * @library /testlibrary /test/lib /
  * @modules java.management
  * @build sun.hotspot.WhiteBox