mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +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
|
@ -36,7 +36,7 @@ import jdk.test.lib.*;
|
|||
public class DumpSymbolAndStringTable {
|
||||
public static void main(String[] args) throws Exception {
|
||||
// Grab my own PID
|
||||
String pid = Integer.toString(ProcessTools.getProcessId());
|
||||
String pid = Long.toString(ProcessTools.getProcessId());
|
||||
|
||||
ProcessBuilder pb = new ProcessBuilder();
|
||||
pb.command(new String[] {JDKToolFinder.getJDKTool("jcmd"), pid, "VM.symboltable", "-verbose"});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue