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:
Alexander Kulyakhtin 2016-04-26 13:22:32 +03:00
parent 1601aea438
commit 7cf6a15162
29 changed files with 33 additions and 36 deletions

View file

@ -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