mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 18:44:38 +02:00
8153992: Some hotspot tests fail on compact2 due to an unnecessary test library dependency
Removing unnecessary dependency on java.management from the ProcessTool.getProcessId() Reviewed-by: mchung
This commit is contained in:
parent
1601aea438
commit
7cf6a15162
29 changed files with 33 additions and 36 deletions
|
@ -48,7 +48,7 @@ public class VirtualAllocCommitUncommitRecommit {
|
|||
long reserveSize = 4 * 1024 * 1024; // 4096KB
|
||||
long addr;
|
||||
|
||||
String pid = Integer.toString(ProcessTools.getProcessId());
|
||||
String pid = Long.toString(ProcessTools.getProcessId());
|
||||
ProcessBuilder pb = new ProcessBuilder();
|
||||
|
||||
// reserve
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue