< prev index next >
test/serviceability/tmtools/jstat/GcTest01.java
Print this page
*** 30,45 ****
* and after each garbage collection runs jstat.
* jstat should show that after garbage collection
* number of GC events and garbage
* collection time increase.
* @modules java.base/jdk.internal.misc
! * @library /test/lib/share/classes
* @library ../share
* @requires vm.opt.ExplicitGCInvokesConcurrent != true
- * @build common.*
- * @build utils.*
- *
* @run main/othervm -XX:+UsePerfData -Xmx128M GcTest01
*/
import utils.*;
public class GcTest01 {
--- 30,42 ----
* and after each garbage collection runs jstat.
* jstat should show that after garbage collection
* number of GC events and garbage
* collection time increase.
* @modules java.base/jdk.internal.misc
! * @library /test/lib
* @library ../share
* @requires vm.opt.ExplicitGCInvokesConcurrent != true
* @run main/othervm -XX:+UsePerfData -Xmx128M GcTest01
*/
import utils.*;
public class GcTest01 {
< prev index next >