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