< prev index next >
test/gc/g1/TestRemsetLoggingPerRegion.java
Print this page
rev 9738 : [mq]: 8145534-testremsetlogging-takes-too-long
*** 21,35 ****
* questions.
*/
/*
* @test TestRemsetLoggingPerRegion.java
* @bug 8014078 8129977
! * @library /testlibrary
* @modules java.base/sun.misc
* java.management/sun.management
* @build TestRemsetLoggingTools TestRemsetLoggingPerRegion
* @summary Verify output of -Xlog:gc+remset*=trace in regards to per-region type output
* @run main TestRemsetLoggingPerRegion
*/
import jdk.test.lib.*;
--- 21,38 ----
* questions.
*/
/*
* @test TestRemsetLoggingPerRegion.java
+ * @requires vm.gc=="G1" | vm.gc =="null"
* @bug 8014078 8129977
! * @library /testlibrary /test/lib
* @modules java.base/sun.misc
* java.management/sun.management
* @build TestRemsetLoggingTools TestRemsetLoggingPerRegion
+ * @run main ClassFileInstaller sun.hotspot.WhiteBox
+ * sun.hotspot.WhiteBox$WhiteBoxPermission
* @summary Verify output of -Xlog:gc+remset*=trace in regards to per-region type output
* @run main TestRemsetLoggingPerRegion
*/
import jdk.test.lib.*;
*** 40,53 ****
public class TestRemsetLoggingPerRegion {
public static void main(String[] args) throws Exception {
String result;
- if (!TestRemsetLoggingTools.testingG1GC()) {
- return;
- }
-
// single remembered set summary output at the end
result = TestRemsetLoggingTools.runTest(new String[] { "-Xlog:gc+remset*=trace" }, 0);
TestRemsetLoggingTools.expectPerRegionRSetSummaries(result, 1, 0);
// two times remembered set summary output
--- 43,52 ----
< prev index next >