< prev index next >
test/serviceability/tmtools/jstat/GcTest01.java
Print this page
rev 12309 : Rev 01
@@ -48,11 +48,11 @@
// Run once and get the results asserting that they are reasonable
JstatGcResults measurement1 = jstatGcTool.measure();
measurement1.assertConsistency();
- GcProvoker gcProvoker = GcProvoker.createGcProvoker();
+ GcProvoker gcProvoker = new GcProvoker();
// Provoke GC then run the tool again and get the results
// asserting that they are reasonable
gcProvoker.provokeGc();
JstatGcResults measurement2 = jstatGcTool.measure();
< prev index next >