hotspot/test/runtime/NMT/VirtualAllocCommitUncommitRecommit.java
changeset 38089 9e58203ef0e2
parent 36851 03e2f4d0a421
child 40631 ed82623d7831
--- a/hotspot/test/runtime/NMT/VirtualAllocCommitUncommitRecommit.java	Tue Apr 26 11:05:11 2016 +0200
+++ b/hotspot/test/runtime/NMT/VirtualAllocCommitUncommitRecommit.java	Tue Apr 26 13:22:32 2016 +0300
@@ -48,7 +48,7 @@
         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