hotspot/src/os/linux/vm/os_linux.cpp
changeset 5413 ec3af2f4d9f9
parent 5403 6b0dd9c75dde
parent 5410 c4b979417733
child 5532 34c4ef11dbed
--- a/hotspot/src/os/linux/vm/os_linux.cpp	Mon May 03 16:31:07 2010 -0400
+++ b/hotspot/src/os/linux/vm/os_linux.cpp	Wed May 05 16:39:47 2010 -0700
@@ -2305,7 +2305,7 @@
     return;
   }
 
-  char buf[40];
+  char buf[PATH_MAX+1];
   int num = Atomic::add(1, &cnt);
 
   snprintf(buf, sizeof(buf), "%s/hs-vm-%d-%d",