hotspot/test/runtime/NMT/SummaryAfterShutdown.java
changeset 38089 9e58203ef0e2
parent 36851 03e2f4d0a421
child 40631 ed82623d7831
--- a/hotspot/test/runtime/NMT/SummaryAfterShutdown.java	Tue Apr 26 11:05:11 2016 +0200
+++ b/hotspot/test/runtime/NMT/SummaryAfterShutdown.java	Tue Apr 26 13:22:32 2016 +0300
@@ -38,7 +38,7 @@
   public static void main(String args[]) throws Exception {
     OutputAnalyzer output;
     // Grab my own PID
-    String pid = Integer.toString(ProcessTools.getProcessId());
+    String pid = Long.toString(ProcessTools.getProcessId());
     ProcessBuilder pb = new ProcessBuilder();
 
     // Run 'jcmd <pid> VM.native_memory shutdown'