< prev index next > test/hotspot/jtreg/runtime/testlibrary/ClassUnloadCommon.java
Print this page
l = null;
dummy = null;
}
public static void triggerUnloading() {
! allocateMemory(16 * 1024); // yg size is 8m with cms[[keep?]], force young collection
System.gc();
}
/**
* Creates a class loader that loads classes from {@code ${test.class.path}}
l = null;
dummy = null;
}
public static void triggerUnloading() {
! allocateMemory(16 * 1024); // force young collection
System.gc();
}
/**
* Creates a class loader that loads classes from {@code ${test.class.path}}
< prev index next >