Skip to content

Commit e0f8d16

Browse files
committed
8314829: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java ignores vm flags
Reviewed-by: cjplummer
1 parent 7b1e2bf commit e0f8d16

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

test/hotspot/jtreg/ProblemList-zgc.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
resourcehogs/serviceability/sa/TestHeapDumpForLargeArray.java 8276539 generic-all
3131
serviceability/sa/CDSJMapClstats.java 8276539 generic-all
3232
serviceability/sa/ClhsdbJhisto.java 8276539 generic-all
33+
serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java 8276539 generic-all
3334

3435
serviceability/sa/ClhsdbFindPC.java#xcomp-core 8284045 generic-all
3536
serviceability/sa/TestJmapCore.java 8268283,8270202 linux-aarch64,linux-x64,macosx-aarch64

test/hotspot/jtreg/serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2013, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2013, 2023, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -77,7 +77,7 @@ public static void main(String[] args) throws Exception {
7777
private static void testHProfFileFormat(String vmArgs, long heapSize,
7878
String expectedFormat) throws Exception, IOException,
7979
InterruptedException, FileNotFoundException {
80-
ProcessBuilder procBuilder = ProcessTools.createJavaProcessBuilder(
80+
ProcessBuilder procBuilder = ProcessTools.createTestJvm(
8181
"--add-exports=java.management/sun.management=ALL-UNNAMED", vmArgs, "JMapHProfLargeHeapProc", String.valueOf(heapSize));
8282
procBuilder.redirectError(ProcessBuilder.Redirect.INHERIT);
8383
Process largeHeapProc = procBuilder.start();

0 commit comments

Comments
 (0)