aboutsummaryrefslogtreecommitdiffstats
path: root/hotspot/.hg/patches/JVM_SetVmMemoryPressure.patch
diff options
context:
space:
mode:
authorIvan Dubrov <idubrov@guidewire.com>2015-06-18 15:37:39 -0700
committerIvan Dubrov <idubrov@guidewire.com>2015-06-18 15:37:39 -0700
commit0f90a979565fe6516511e4def814efc8868935f4 (patch)
treec70553bd3a8254fb102466a4872d4be6463afe1a /hotspot/.hg/patches/JVM_SetVmMemoryPressure.patch
parent516d955f92609b47a024b90a6d5df701bb1d98b3 (diff)
downloaddcevm-0f90a979565fe6516511e4def814efc8868935f4.tar.gz
dcevm-0f90a979565fe6516511e4def814efc8868935f4.zip
Stub JVM_SetVmMemoryPressure function in jvm.cpp
Diffstat (limited to 'hotspot/.hg/patches/JVM_SetVmMemoryPressure.patch')
-rw-r--r--hotspot/.hg/patches/JVM_SetVmMemoryPressure.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/hotspot/.hg/patches/JVM_SetVmMemoryPressure.patch b/hotspot/.hg/patches/JVM_SetVmMemoryPressure.patch
new file mode 100644
index 00000000..dd9e6396
--- /dev/null
+++ b/hotspot/.hg/patches/JVM_SetVmMemoryPressure.patch
@@ -0,0 +1,17 @@
+# HG changeset patch
+# Parent 41a800a10f56ae750a3a327463422f3c6cfd2544
+
+diff -r 41a800a10f56 src/share/vm/prims/jvm.cpp
+--- a/src/share/vm/prims/jvm.cpp Thu Jun 18 15:13:34 2015 -0700
++++ b/src/share/vm/prims/jvm.cpp Thu Jun 18 15:14:09 2015 -0700
+@@ -4235,6 +4235,10 @@
+ return DTraceJSDT::is_supported();
+ JVM_END
+
++JVM_ENTRY_NO_ENV(void, JVM_SetVmMemoryPressure(jint pressure))
++ // Do nothing, this function is only to make management.dll happy
++JVM_END
++
+ // Returns an array of all live Thread objects (VM internal JavaThreads,
+ // jvmti agent threads, and JNI attaching threads are skipped)
+ // See CR 6404306 regarding JNI attaching threads