53c576
diff --git openjdk.orig/hotspot/src/os/linux/vm/perfMemory_linux.cpp openjdk/hotspot/src/os/linux/vm/perfMemory_linux.cpp
53c576
--- openjdk.orig/hotspot/src/os/linux/vm/perfMemory_linux.cpp
53c576
+++ openjdk/hotspot/src/os/linux/vm/perfMemory_linux.cpp
53c576
@@ -878,7 +878,7 @@
53c576
 
53c576
   // open the file
53c576
   int result;
53c576
-  RESTARTABLE(::open(filename, oflags), result);
53c576
+  RESTARTABLE(::open(filename, oflags, 0), result);
53c576
   if (result == OS_ERR) {
53c576
     if (errno == ENOENT) {
53c576
       THROW_MSG_(vmSymbols::java_lang_IllegalArgumentException(),