Skip to content

Commit

Permalink
test SystemMap with and without ZGC
Browse files Browse the repository at this point in the history
  • Loading branch information
stooke committed Jan 8, 2025
1 parent f47f942 commit f62bbd7
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions test/hotspot/jtreg/serviceability/dcmd/vm/SystemMapTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,29 +28,28 @@
import jdk.test.lib.process.OutputAnalyzer;

/*
* @test id=zgc
* @bug 8346717
* @requires vm.gc.Z
* @summary Test of diagnostic command System.map using ZGC
* @test id=normal
* @summary Test of diagnostic command System.map
* @library /test/lib
* @requires (os.family == "linux" | os.family == "windows" | os.family == "mac")
* @requires (vm.gc != "Z") & (os.family == "linux" | os.family == "windows" | os.family == "mac")
* @modules java.base/jdk.internal.misc
* java.compiler
* java.management
* jdk.internal.jvmstat/sun.jvmstat.monitor
* @run testng/othervm -XX:+UsePerfData -XX:+UseZGC SystemMapTest
* @run testng/othervm -XX:+UsePerfData -XX:-UseZGC SystemMapTest
*/

/*
* @test id=normal
* @summary Test of diagnostic command System.map
* @test id=zgc
* @bug 8346717
* @summary Test of diagnostic command System.map using ZGC
* @library /test/lib
* @requires (os.family == "linux" | os.family == "windows" | os.family == "mac")
* @requires vm.gc.Z & (os.family == "linux" | os.family == "windows" | os.family == "mac")
* @modules java.base/jdk.internal.misc
* java.compiler
* java.management
* jdk.internal.jvmstat/sun.jvmstat.monitor
* @run testng/othervm -XX:+UsePerfData SystemMapTest
* @run testng/othervm -XX:+UsePerfData -XX:+UseZGC SystemMapTest
*/
public class SystemMapTest extends SystemMapTestBase {
public void run(CommandExecutor executor) {
Expand Down

0 comments on commit f62bbd7

Please sign in to comment.