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