OpenJDK / portola / portola
changeset 56708:215308c0d5e8
8231943: ZGC: Enable serviceability/dcmd/gc/RunGCTest
Reviewed-by: tschatzl, eosterlund, sspitsyn
author | pliden |
---|---|
date | Mon, 21 Oct 2019 09:55:31 +0200 |
parents | 5d10ba4a0468 |
children | c203d10291e1 |
files | test/hotspot/jtreg/serviceability/dcmd/gc/RunGCTest.java |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/test/hotspot/jtreg/serviceability/dcmd/gc/RunGCTest.java Mon Oct 21 09:51:24 2019 +0200 +++ b/test/hotspot/jtreg/serviceability/dcmd/gc/RunGCTest.java Mon Oct 21 09:55:31 2019 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -36,13 +36,12 @@ /* * @test * @summary Test of diagnostic command GC.run - * @requires vm.gc != "Z" * @library /test/lib * @modules java.base/jdk.internal.misc * java.compiler * java.management * jdk.internal.jvmstat/sun.jvmstat.monitor - * @run testng/othervm -Xlog:gc=debug:RunGC.gclog -XX:-ExplicitGCInvokesConcurrent RunGCTest + * @run testng/othervm -Xlog:gc:RunGC.gclog -XX:-ExplicitGCInvokesConcurrent RunGCTest */ public class RunGCTest { public void run(CommandExecutor executor) { @@ -58,7 +57,7 @@ } OutputAnalyzer output = new OutputAnalyzer(gcLog, ""); - output.shouldContain("Pause Full (Diagnostic Command)"); + output.shouldContain("(Diagnostic Command)"); } @Test