aboutsummaryrefslogtreecommitdiffstats
path: root/hotspot/.hg/patches/JVM_SetVmMemoryPressure.patch
blob: b82494f28950a5a8ffa2fed970e4a13c4e64ef17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# HG changeset patch
# Parent  592f77165ec5790515d82fd1b9e02cd85b6d1946

diff -r 592f77165ec5 make/aix/makefiles/mapfile-vers-debug
--- a/make/aix/makefiles/mapfile-vers-debug	Thu Jun 18 16:48:43 2015 -0700
+++ b/make/aix/makefiles/mapfile-vers-debug	Thu Jun 18 17:01:37 2015 -0700
@@ -227,6 +227,7 @@
                 JVM_SetProtectionDomain;
                 JVM_SetSockOpt;
                 JVM_SetThreadPriority;
+                JVM_SetVmMemoryPressure;
                 JVM_Sleep;
                 JVM_Socket;
                 JVM_SocketAvailable;
diff -r 592f77165ec5 make/aix/makefiles/mapfile-vers-product
--- a/make/aix/makefiles/mapfile-vers-product	Thu Jun 18 16:48:43 2015 -0700
+++ b/make/aix/makefiles/mapfile-vers-product	Thu Jun 18 17:01:37 2015 -0700
@@ -225,6 +225,7 @@
                 JVM_SetProtectionDomain;
                 JVM_SetSockOpt;
                 JVM_SetThreadPriority;
+                JVM_SetVmMemoryPressure;
                 JVM_Sleep;
                 JVM_Socket;
                 JVM_SocketAvailable;
diff -r 592f77165ec5 make/bsd/makefiles/mapfile-vers-debug
--- a/make/bsd/makefiles/mapfile-vers-debug	Thu Jun 18 16:48:43 2015 -0700
+++ b/make/bsd/makefiles/mapfile-vers-debug	Thu Jun 18 17:01:37 2015 -0700
@@ -228,6 +228,7 @@
                 _JVM_SetPrimitiveArrayElement
                 _JVM_SetSockOpt
                 _JVM_SetThreadPriority
+                _JVM_SetVmMemoryPressure
                 _JVM_Sleep
                 _JVM_Socket
                 _JVM_SocketAvailable
diff -r 592f77165ec5 make/bsd/makefiles/mapfile-vers-product
--- a/make/bsd/makefiles/mapfile-vers-product	Thu Jun 18 16:48:43 2015 -0700
+++ b/make/bsd/makefiles/mapfile-vers-product	Thu Jun 18 17:01:37 2015 -0700
@@ -228,6 +228,7 @@
                 _JVM_SetPrimitiveArrayElement
                 _JVM_SetSockOpt
                 _JVM_SetThreadPriority
+                _JVM_SetVmMemoryPressure
                 _JVM_Sleep
                 _JVM_Socket
                 _JVM_SocketAvailable
diff -r 592f77165ec5 make/linux/makefiles/mapfile-vers-debug
--- a/make/linux/makefiles/mapfile-vers-debug	Thu Jun 18 16:48:43 2015 -0700
+++ b/make/linux/makefiles/mapfile-vers-debug	Thu Jun 18 17:01:37 2015 -0700
@@ -230,6 +230,7 @@
                 JVM_SetPrimitiveArrayElement;
                 JVM_SetSockOpt;
                 JVM_SetThreadPriority;
+                JVM_SetVmMemoryPressure;
                 JVM_Sleep;
                 JVM_Socket;
                 JVM_SocketAvailable;
diff -r 592f77165ec5 make/linux/makefiles/mapfile-vers-product
--- a/make/linux/makefiles/mapfile-vers-product	Thu Jun 18 16:48:43 2015 -0700
+++ b/make/linux/makefiles/mapfile-vers-product	Thu Jun 18 17:01:37 2015 -0700
@@ -230,6 +230,7 @@
                 JVM_SetPrimitiveArrayElement;
                 JVM_SetSockOpt;
                 JVM_SetThreadPriority;
+                JVM_SetVmMemoryPressure;
                 JVM_Sleep;
                 JVM_Socket;
                 JVM_SocketAvailable;
diff -r 592f77165ec5 make/solaris/makefiles/mapfile-vers
--- a/make/solaris/makefiles/mapfile-vers	Thu Jun 18 16:48:43 2015 -0700
+++ b/make/solaris/makefiles/mapfile-vers	Thu Jun 18 17:01:37 2015 -0700
@@ -230,6 +230,7 @@
                 JVM_SetPrimitiveArrayElement;
                 JVM_SetSockOpt;
                 JVM_SetThreadPriority;
+                JVM_SetVmMemoryPressure;
                 JVM_Sleep;
                 JVM_Socket;
                 JVM_SocketAvailable;
diff -r 592f77165ec5 src/share/vm/prims/jvm.cpp
--- a/src/share/vm/prims/jvm.cpp	Thu Jun 18 16:48:43 2015 -0700
+++ b/src/share/vm/prims/jvm.cpp	Thu Jun 18 17:01:37 2015 -0700
@@ -4302,6 +4302,10 @@
   return Management::get_jmm_interface(version);
 JVM_END
 
+JVM_ENTRY_NO_ENV(void, JVM_SetVmMemoryPressure(jint pressure))
+  // Do nothing, this function is only to make management.dll happy
+JVM_END
+
 // com.sun.tools.attach.VirtualMachine agent properties support
 //
 // Initialize the agent properties with the properties maintained in the VM
diff -r 592f77165ec5 src/share/vm/prims/jvm.h
--- a/src/share/vm/prims/jvm.h	Thu Jun 18 16:48:43 2015 -0700
+++ b/src/share/vm/prims/jvm.h	Thu Jun 18 17:01:37 2015 -0700
@@ -1490,6 +1490,9 @@
 JNIEXPORT void* JNICALL
 JVM_GetManagement(jint version);
 
+JNIEXPORT void JNICALL
+JVM_SetVmMemoryPressure(jint pressure);
+
 /*
  * com.sun.tools.attach.VirtualMachine support
  *