Fri, 28 Aug 2020 07:38:21 +0100
8251120: [8u] HotSpot build assumes ENABLE_JFR is set to either true or false
Summary: Only test for ENABLE_JFR being true, and assume undefined == false
Reviewed-by: neugens
1 #
2 # Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # This code is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License version 2 only, as
7 # published by the Free Software Foundation.
8 #
9 # This code is distributed in the hope that it will be useful, but WITHOUT
10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 # version 2 for more details (a copy is included in the LICENSE file that
13 # accompanied this code).
14 #
15 # You should have received a copy of the GNU General Public License version
16 # 2 along with this work; if not, write to the Free Software Foundation,
17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 #
19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 # or visit www.oracle.com if you need additional information or have any
21 # questions.
22 #
23 #
25 # Define public interface.
27 SUNWprivate_1.1 {
28 global:
29 # JNI
30 JNI_CreateJavaVM;
31 JNI_GetCreatedJavaVMs;
32 JNI_GetDefaultJavaVMInitArgs;
34 # JVM
35 JVM_Accept;
36 JVM_ActiveProcessorCount;
37 JVM_AllocateNewArray;
38 JVM_AllocateNewObject;
39 JVM_ArrayCopy;
40 JVM_AssertionStatusDirectives;
41 JVM_Available;
42 JVM_BeforeHalt;
43 JVM_Bind;
44 JVM_ClassDepth;
45 JVM_ClassLoaderDepth;
46 JVM_Clone;
47 JVM_Close;
48 JVM_CX8Field;
49 JVM_CompileClass;
50 JVM_CompileClasses;
51 JVM_CompilerCommand;
52 JVM_Connect;
53 JVM_ConstantPoolGetClassAt;
54 JVM_ConstantPoolGetClassAtIfLoaded;
55 JVM_ConstantPoolGetDoubleAt;
56 JVM_ConstantPoolGetFieldAt;
57 JVM_ConstantPoolGetFieldAtIfLoaded;
58 JVM_ConstantPoolGetFloatAt;
59 JVM_ConstantPoolGetIntAt;
60 JVM_ConstantPoolGetLongAt;
61 JVM_ConstantPoolGetMethodAt;
62 JVM_ConstantPoolGetMethodAtIfLoaded;
63 JVM_ConstantPoolGetMemberRefInfoAt;
64 JVM_ConstantPoolGetSize;
65 JVM_ConstantPoolGetStringAt;
66 JVM_ConstantPoolGetUTF8At;
67 JVM_CopySwapMemory;
68 JVM_CountStackFrames;
69 JVM_CurrentClassLoader;
70 JVM_CurrentLoadedClass;
71 JVM_CurrentThread;
72 JVM_CurrentTimeMillis;
73 JVM_DefineClass;
74 JVM_DefineClassWithSource;
75 JVM_DefineClassWithSourceCond;
76 JVM_DesiredAssertionStatus;
77 JVM_DisableCompiler;
78 JVM_DoPrivileged;
79 JVM_DTraceGetVersion;
80 JVM_DTraceActivate;
81 JVM_DTraceIsProbeEnabled;
82 JVM_DTraceIsSupported;
83 JVM_DTraceDispose;
84 JVM_DumpAllStacks;
85 JVM_DumpThreads;
86 JVM_EnableCompiler;
87 JVM_Exit;
88 JVM_FillInStackTrace;
89 JVM_FindClassFromCaller;
90 JVM_FindClassFromClass;
91 JVM_FindClassFromClassLoader;
92 JVM_FindClassFromBootLoader;
93 JVM_FindLibraryEntry;
94 JVM_FindLoadedClass;
95 JVM_FindPrimitiveClass;
96 JVM_FindSignal;
97 JVM_FreeMemory;
98 JVM_GC;
99 JVM_GetAllThreads;
100 JVM_GetArrayElement;
101 JVM_GetArrayLength;
102 JVM_GetCPClassNameUTF;
103 JVM_GetCPFieldClassNameUTF;
104 JVM_GetCPFieldModifiers;
105 JVM_GetCPFieldNameUTF;
106 JVM_GetCPFieldSignatureUTF;
107 JVM_GetCPMethodClassNameUTF;
108 JVM_GetCPMethodModifiers;
109 JVM_GetCPMethodNameUTF;
110 JVM_GetCPMethodSignatureUTF;
111 JVM_GetCallerClass;
112 JVM_GetClassAccessFlags;
113 JVM_GetClassAnnotations;
114 JVM_GetClassCPEntriesCount;
115 JVM_GetClassCPTypes;
116 JVM_GetClassConstantPool;
117 JVM_GetClassContext;
118 JVM_GetClassDeclaredConstructors;
119 JVM_GetClassDeclaredFields;
120 JVM_GetClassDeclaredMethods;
121 JVM_GetClassFieldsCount;
122 JVM_GetClassInterfaces;
123 JVM_GetClassLoader;
124 JVM_GetClassMethodsCount;
125 JVM_GetClassModifiers;
126 JVM_GetClassName;
127 JVM_GetClassNameUTF;
128 JVM_GetClassSignature;
129 JVM_GetClassSigners;
130 JVM_GetClassTypeAnnotations;
131 JVM_GetComponentType;
132 JVM_GetDeclaredClasses;
133 JVM_GetDeclaringClass;
134 JVM_GetEnclosingMethodInfo;
135 JVM_GetFieldAnnotations;
136 JVM_GetFieldIxModifiers;
137 JVM_GetFieldTypeAnnotations;
138 JVM_GetHostName;
139 JVM_GetInheritedAccessControlContext;
140 JVM_GetInterfaceVersion;
141 JVM_GetLastErrorString;
142 JVM_GetManagement;
143 JVM_GetMethodAnnotations;
144 JVM_GetMethodDefaultAnnotationValue;
145 JVM_GetMethodIxArgsSize;
146 JVM_GetMethodIxByteCode;
147 JVM_GetMethodIxByteCodeLength;
148 JVM_GetMethodIxExceptionIndexes;
149 JVM_GetMethodIxExceptionTableEntry;
150 JVM_GetMethodIxExceptionTableLength;
151 JVM_GetMethodIxExceptionsCount;
152 JVM_GetMethodIxLocalsCount;
153 JVM_GetMethodIxMaxStack;
154 JVM_GetMethodIxModifiers;
155 JVM_GetMethodIxNameUTF;
156 JVM_GetMethodIxSignatureUTF;
157 JVM_GetMethodParameterAnnotations;
158 JVM_GetMethodParameters;
159 JVM_GetMethodTypeAnnotations;
160 JVM_GetPrimitiveArrayElement;
161 JVM_GetProtectionDomain;
162 JVM_GetSockName;
163 JVM_GetSockOpt;
164 JVM_GetStackAccessControlContext;
165 JVM_GetStackTraceDepth;
166 JVM_GetStackTraceElement;
167 JVM_GetSystemPackage;
168 JVM_GetSystemPackages;
169 JVM_GetTemporaryDirectory;
170 JVM_GetThreadStateNames;
171 JVM_GetThreadStateValues;
172 JVM_GetVersionInfo;
173 JVM_Halt;
174 JVM_HoldsLock;
175 JVM_IHashCode;
176 JVM_InitAgentProperties;
177 JVM_InitProperties;
178 JVM_InitializeCompiler;
179 JVM_InitializeSocketLibrary;
180 JVM_InternString;
181 JVM_Interrupt;
182 JVM_InvokeMethod;
183 JVM_IsArrayClass;
184 JVM_IsConstructorIx;
185 JVM_IsInterface;
186 JVM_IsInterrupted;
187 JVM_IsNaN;
188 JVM_IsPrimitiveClass;
189 JVM_IsSameClassPackage;
190 JVM_IsSilentCompiler;
191 JVM_IsSupportedJNIVersion;
192 JVM_IsThreadAlive;
193 JVM_IsUseContainerSupport;
194 JVM_IsVMGeneratedMethodIx;
195 JVM_LatestUserDefinedLoader;
196 JVM_Listen;
197 JVM_LoadClass0;
198 JVM_LoadLibrary;
199 JVM_Lseek;
200 JVM_MaxObjectInspectionAge;
201 JVM_MaxMemory;
202 JVM_MonitorNotify;
203 JVM_MonitorNotifyAll;
204 JVM_MonitorWait;
205 JVM_NanoTime;
206 JVM_NativePath;
207 JVM_NewArray;
208 JVM_NewInstanceFromConstructor;
209 JVM_NewMultiArray;
210 JVM_OnExit;
211 JVM_Open;
212 JVM_RaiseSignal;
213 JVM_RawMonitorCreate;
214 JVM_RawMonitorDestroy;
215 JVM_RawMonitorEnter;
216 JVM_RawMonitorExit;
217 JVM_Read;
218 JVM_Recv;
219 JVM_RecvFrom;
220 JVM_RegisterSignal;
221 JVM_ReleaseUTF;
222 JVM_ResolveClass;
223 JVM_KnownToNotExist;
224 JVM_GetResourceLookupCacheURLs;
225 JVM_GetResourceLookupCache;
226 JVM_ResumeThread;
227 JVM_Send;
228 JVM_SendTo;
229 JVM_SetArrayElement;
230 JVM_SetClassSigners;
231 JVM_SetLength;
232 JVM_SetNativeThreadName;
233 JVM_SetPrimitiveArrayElement;
234 JVM_SetSockOpt;
235 JVM_SetThreadPriority;
236 JVM_Sleep;
237 JVM_Socket;
238 JVM_SocketAvailable;
239 JVM_SocketClose;
240 JVM_SocketShutdown;
241 JVM_StartThread;
242 JVM_StopThread;
243 JVM_SuspendThread;
244 JVM_SupportsCX8;
245 JVM_Sync;
246 JVM_Timeout;
247 JVM_TotalMemory;
248 JVM_TraceInstructions;
249 JVM_TraceMethodCalls;
250 JVM_UnloadLibrary;
251 JVM_Write;
252 JVM_Yield;
253 JVM_handle_linux_signal;
255 # debug JVM
256 JVM_AccessVMBooleanFlag;
257 JVM_AccessVMIntFlag;
258 JVM_VMBreakPoint;
260 # miscellaneous functions
261 jio_fprintf;
262 jio_printf;
263 jio_snprintf;
264 jio_vfprintf;
265 jio_vsnprintf;
266 fork1;
267 numa_warn;
268 numa_error;
270 # Needed because there is no JVM interface for this.
271 sysThreadAvailableStackWithSlack;
273 # This is for Forte Analyzer profiling support.
274 AsyncGetCallTrace;
276 # INSERT VTABLE SYMBOLS HERE
278 local:
279 *;
280 };