test/gc/g1/TestHumongousCodeCacheRoots.java
Print this page
rev 7249 : 8062537: [TESTBUG] Conflicting GC combinations in hotspot tests
@@ -26,10 +26,11 @@
* @key regression
* @key gc
* @bug 8027756
* @library /testlibrary /testlibrary/whitebox
* @build TestHumongousCodeCacheRoots
+ * @requires vm.gc=="G1" | vm.gc=="null"
* @run main ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @summary Humongous objects may have references from the code cache
* @run main TestHumongousCodeCacheRoots
*/