< prev index next >
test/hotspot/jtreg/vmTestbase/gc/gctests/LoadUnloadGC/LoadUnloadGC.java
Print this page
@@ -32,10 +32,11 @@
* Class0 gets loaded which results in Class1 getting loaded and so on all
* the way uptill class1000. The classes should be unloaded whenever a
* garbage collection takes place because their classloader is made unreachable
* at the end of the each loop iteration. The loop is repeated 1000 times.
*
+ * @requires vm.opt.final.ClassUnloading
* @library /vmTestbase
* /test/lib
* @run driver jdk.test.lib.FileInstaller . .
* @build nsk.share.gc.ClassChain
* @run main/othervm
< prev index next >