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#
24
25# Define public interface.
26
27SUNWprivate_1.1 {
28        global:
29                # _JNI
30                JNI_CreateJavaVM;
31                JNI_GetCreatedJavaVMs;
32                JNI_GetDefaultJavaVMInitArgs;
33
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_IsVMGeneratedMethodIx;
194                JVM_KnownToNotExist;
195                JVM_GetResourceLookupCacheURLs;
196                JVM_GetResourceLookupCache;
197                JVM_LatestUserDefinedLoader;
198                JVM_Listen;
199                JVM_LoadClass0;
200                JVM_LoadLibrary;
201                JVM_Lseek;
202                JVM_MaxObjectInspectionAge;
203                JVM_MaxMemory;
204                JVM_MonitorNotify;
205                JVM_MonitorNotifyAll;
206                JVM_MonitorWait;
207                JVM_NanoTime;
208                JVM_NativePath;
209                JVM_NewArray;
210                JVM_NewInstanceFromConstructor;
211                JVM_NewMultiArray;
212                JVM_OnExit;
213                JVM_Open;
214                JVM_RaiseSignal;
215                JVM_RawMonitorCreate;
216                JVM_RawMonitorDestroy;
217                JVM_RawMonitorEnter;
218                JVM_RawMonitorExit;
219                JVM_Read;
220                JVM_Recv;
221                JVM_RecvFrom;
222                JVM_RegisterSignal;
223                JVM_ReleaseUTF;
224                JVM_ResolveClass;
225                JVM_ResumeThread;
226                JVM_Send;
227                JVM_SendTo;
228                JVM_SetArrayElement;
229                JVM_SetClassSigners;
230                JVM_SetLength;
231                JVM_SetNativeThreadName;
232                JVM_SetPrimitiveArrayElement;
233                JVM_SetSockOpt;
234                JVM_SetThreadPriority;
235                JVM_Sleep;
236                JVM_Socket;
237                JVM_SocketAvailable;
238                JVM_SocketClose;
239                JVM_SocketShutdown;
240                JVM_StartThread;
241                JVM_StopThread;
242                JVM_SuspendThread;
243                JVM_SupportsCX8;
244                JVM_Sync;
245                JVM_Timeout;
246                JVM_TotalMemory;
247                JVM_TraceInstructions;
248                JVM_TraceMethodCalls;
249                JVM_UnloadLibrary;
250                JVM_Write;
251                JVM_Yield;
252                JVM_handle_bsd_signal;
253
254                # debug JVM
255                JVM_AccessVMBooleanFlag;
256                JVM_AccessVMIntFlag;
257                JVM_VMBreakPoint;
258
259                # miscellaneous functions
260                jio_fprintf;
261                jio_printf;
262                jio_snprintf;
263                jio_vfprintf;
264                jio_vsnprintf;
265		fork1;
266                numa_warn;
267                numa_error;
268
269                # This is for Forte Analyzer profiling support.
270                AsyncGetCallTrace;
271
272                # INSERT VTABLE SYMBOLS HERE
273
274        local:
275                *;
276};
277