1 # 2 # Copyright (c) 2002, 2014, 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 27 SUNWprivate_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_Bind; 43 JVM_ClassDepth; 44 JVM_ClassLoaderDepth; 45 JVM_Clone; 46 JVM_Close; 47 JVM_CX8Field; 48 JVM_CompileClass; 49 JVM_CompileClasses; 50 JVM_CompilerCommand; 51 JVM_Connect; 52 JVM_ConstantPoolGetClassAt; 53 JVM_ConstantPoolGetClassAtIfLoaded; 54 JVM_ConstantPoolGetDoubleAt; 55 JVM_ConstantPoolGetFieldAt; 56 JVM_ConstantPoolGetFieldAtIfLoaded; 57 JVM_ConstantPoolGetFloatAt; 58 JVM_ConstantPoolGetIntAt; 59 JVM_ConstantPoolGetLongAt; 60 JVM_ConstantPoolGetMethodAt; 61 JVM_ConstantPoolGetMethodAtIfLoaded; 62 JVM_ConstantPoolGetMemberRefInfoAt; 63 JVM_ConstantPoolGetSize; 64 JVM_ConstantPoolGetStringAt; 65 JVM_ConstantPoolGetUTF8At; 66 JVM_CountStackFrames; 67 JVM_CurrentClassLoader; 68 JVM_CurrentLoadedClass; 69 JVM_CurrentThread; 70 JVM_CurrentTimeMillis; 71 JVM_DefineClass; 72 JVM_DefineClassWithSource; 73 JVM_DefineClassWithSourceCond; 74 JVM_DesiredAssertionStatus; 75 JVM_DisableCompiler; 76 JVM_DoPrivileged; 77 JVM_DTraceGetVersion; 78 JVM_DTraceActivate; 79 JVM_DTraceIsProbeEnabled; 80 JVM_DTraceIsSupported; 81 JVM_DTraceDispose; 82 JVM_DumpAllStacks; 83 JVM_DumpThreads; 84 JVM_EnableCompiler; 85 JVM_Exit; 86 JVM_FillInStackTrace; 87 JVM_FindClassFromCaller; 88 JVM_FindClassFromClass; 89 JVM_FindClassFromClassLoader; 90 JVM_FindClassFromBootLoader; 91 JVM_FindLibraryEntry; 92 JVM_FindLoadedClass; 93 JVM_FindPrimitiveClass; 94 JVM_FindSignal; 95 JVM_FreeMemory; 96 JVM_GC; 97 JVM_GetAllThreads; 98 JVM_GetArrayElement; 99 JVM_GetArrayLength; 100 JVM_GetCPClassNameUTF; 101 JVM_GetCPFieldClassNameUTF; 102 JVM_GetCPFieldModifiers; 103 JVM_GetCPFieldNameUTF; 104 JVM_GetCPFieldSignatureUTF; 105 JVM_GetCPMethodClassNameUTF; 106 JVM_GetCPMethodModifiers; 107 JVM_GetCPMethodNameUTF; 108 JVM_GetCPMethodSignatureUTF; 109 JVM_GetCallerClass; 110 JVM_GetClassAccessFlags; 111 JVM_GetClassAnnotations; 112 JVM_GetClassCPEntriesCount; 113 JVM_GetClassCPTypes; 114 JVM_GetClassConstantPool; 115 JVM_GetClassContext; 116 JVM_GetClassDeclaredConstructors; 117 JVM_GetClassDeclaredFields; 118 JVM_GetClassDeclaredMethods; 119 JVM_GetClassFieldsCount; 120 JVM_GetClassInterfaces; 121 JVM_GetClassLoader; 122 JVM_GetClassMethodsCount; 123 JVM_GetClassModifiers; 124 JVM_GetClassName; 125 JVM_GetClassNameUTF; 126 JVM_GetClassSignature; 127 JVM_GetClassSigners; 128 JVM_GetClassTypeAnnotations; 129 JVM_GetComponentType; 130 JVM_GetDeclaredClasses; 131 JVM_GetDeclaringClass; 132 JVM_GetEnclosingMethodInfo; 133 JVM_GetFieldAnnotations; 134 JVM_GetFieldIxModifiers; 135 JVM_GetFieldTypeAnnotations; 136 JVM_GetHostName; 137 JVM_GetInheritedAccessControlContext; 138 JVM_GetInterfaceVersion; 139 JVM_GetLastErrorString; 140 JVM_GetManagement; 141 JVM_GetMethodAnnotations; 142 JVM_GetMethodDefaultAnnotationValue; 143 JVM_GetMethodIxArgsSize; 144 JVM_GetMethodIxByteCode; 145 JVM_GetMethodIxByteCodeLength; 146 JVM_GetMethodIxExceptionIndexes; 147 JVM_GetMethodIxExceptionTableEntry; 148 JVM_GetMethodIxExceptionTableLength; 149 JVM_GetMethodIxExceptionsCount; 150 JVM_GetMethodIxLocalsCount; 151 JVM_GetMethodIxMaxStack; 152 JVM_GetMethodIxModifiers; 153 JVM_GetMethodIxNameUTF; 154 JVM_GetMethodIxSignatureUTF; 155 JVM_GetMethodParameterAnnotations; 156 JVM_GetMethodParameters; 157 JVM_GetMethodTypeAnnotations; 158 JVM_GetPrimitiveArrayElement; 159 JVM_GetProtectionDomain; 160 JVM_GetSockName; 161 JVM_GetSockOpt; 162 JVM_GetStackAccessControlContext; 163 JVM_GetStackTraceDepth; 164 JVM_GetStackTraceElement; 165 JVM_GetSystemPackage; 166 JVM_GetSystemPackages; 167 JVM_GetTemporaryDirectory; 168 JVM_GetThreadStateNames; 169 JVM_GetThreadStateValues; 170 JVM_GetVersionInfo; 171 JVM_Halt; 172 JVM_HoldsLock; 173 JVM_IHashCode; 174 JVM_InitAgentProperties; 175 JVM_InitProperties; 176 JVM_InitializeCompiler; 177 JVM_InitializeSocketLibrary; 178 JVM_InternString; 179 JVM_Interrupt; 180 JVM_InvokeMethod; 181 JVM_IsArrayClass; 182 JVM_IsConstructorIx; 183 JVM_IsInterface; 184 JVM_IsInterrupted; 185 JVM_IsNaN; 186 JVM_IsPrimitiveClass; 187 JVM_IsSameClassPackage; 188 JVM_IsSilentCompiler; 189 JVM_IsSupportedJNIVersion; 190 JVM_IsThreadAlive; 191 JVM_IsVMGeneratedMethodIx; 192 JVM_LatestUserDefinedLoader; 193 JVM_Listen; 194 JVM_LoadClass0; 195 JVM_LoadLibrary; 196 JVM_Lseek; 197 JVM_MaxObjectInspectionAge; 198 JVM_MaxMemory; 199 JVM_MonitorNotify; 200 JVM_MonitorNotifyAll; 201 JVM_MonitorWait; 202 JVM_NanoTime; 203 JVM_NativePath; 204 JVM_NewArray; 205 JVM_NewInstanceFromConstructor; 206 JVM_NewMultiArray; 207 JVM_OnExit; 208 JVM_Open; 209 JVM_RaiseSignal; 210 JVM_RawMonitorCreate; 211 JVM_RawMonitorDestroy; 212 JVM_RawMonitorEnter; 213 JVM_RawMonitorExit; 214 JVM_Read; 215 JVM_Recv; 216 JVM_RecvFrom; 217 JVM_RegisterSignal; 218 JVM_ReleaseUTF; 219 JVM_ResolveClass; 220 JVM_ResumeThread; 221 JVM_Send; 222 JVM_SendTo; 223 JVM_SetArrayElement; 224 JVM_SetClassSigners; 225 JVM_SetLength; 226 JVM_SetNativeThreadName; 227 JVM_SetPrimitiveArrayElement; 228 JVM_SetSockOpt; 229 JVM_SetThreadPriority; 230 JVM_Sleep; 231 JVM_Socket; 232 JVM_SocketAvailable; 233 JVM_SocketClose; 234 JVM_SocketShutdown; 235 JVM_StartThread; 236 JVM_StopThread; 237 JVM_SuspendThread; 238 JVM_SupportsCX8; 239 JVM_Sync; 240 JVM_Timeout; 241 JVM_TotalMemory; 242 JVM_TraceInstructions; 243 JVM_TraceMethodCalls; 244 JVM_UnloadLibrary; 245 JVM_Write; 246 JVM_Yield; 247 JVM_handle_linux_signal; 248 249 # debug JVM 250 JVM_AccessVMBooleanFlag; 251 JVM_AccessVMIntFlag; 252 JVM_VMBreakPoint; 253 254 # miscellaneous functions 255 jio_fprintf; 256 jio_printf; 257 jio_snprintf; 258 jio_vfprintf; 259 jio_vsnprintf; 260 fork1; 261 numa_warn; 262 numa_error; 263 264 # Needed because there is no JVM interface for this. 265 sysThreadAvailableStackWithSlack; 266 267 # This is for Forte Analyzer profiling support. 268 AsyncGetCallTrace; 269 270 # INSERT VTABLE SYMBOLS HERE 271 272 local: 273 *; 274 }; 275