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_ActiveProcessorCount; 36 JVM_ArrayCopy; 37 JVM_AssertionStatusDirectives; 38 JVM_ClassDepth; 39 JVM_ClassLoaderDepth; 40 JVM_Clone; 41 JVM_ConstantPoolGetClassAt; 42 JVM_ConstantPoolGetClassAtIfLoaded; 43 JVM_ConstantPoolGetDoubleAt; 44 JVM_ConstantPoolGetFieldAt; 45 JVM_ConstantPoolGetFieldAtIfLoaded; 46 JVM_ConstantPoolGetFloatAt; 47 JVM_ConstantPoolGetIntAt; 48 JVM_ConstantPoolGetLongAt; 49 JVM_ConstantPoolGetMethodAt; 50 JVM_ConstantPoolGetMethodAtIfLoaded; 51 JVM_ConstantPoolGetMemberRefInfoAt; 52 JVM_ConstantPoolGetSize; 53 JVM_ConstantPoolGetStringAt; 54 JVM_ConstantPoolGetUTF8At; 55 JVM_CountStackFrames; 56 JVM_CurrentClassLoader; 57 JVM_CurrentLoadedClass; 58 JVM_CurrentThread; 59 JVM_CurrentTimeMillis; 60 JVM_DefineClass; 61 JVM_DefineClassWithSource; 62 JVM_DefineClassWithSourceCond; 63 JVM_DesiredAssertionStatus; 64 JVM_DoPrivileged; 65 JVM_DTraceGetVersion; 66 JVM_DTraceActivate; 67 JVM_DTraceIsProbeEnabled; 68 JVM_DTraceIsSupported; 69 JVM_DTraceDispose; 70 JVM_DumpAllStacks; 71 JVM_DumpThreads; 72 JVM_FillInStackTrace; 73 JVM_FindClassFromCaller; 74 JVM_FindClassFromClass; 75 JVM_FindClassFromBootLoader; 76 JVM_FindLibraryEntry; 77 JVM_FindLoadedClass; 78 JVM_FindPrimitiveClass; 79 JVM_FindSignal; 80 JVM_FreeMemory; 81 JVM_GC; 82 JVM_GetAllThreads; 83 JVM_GetArrayElement; 84 JVM_GetArrayLength; 85 JVM_GetCPClassNameUTF; 86 JVM_GetCPFieldClassNameUTF; 87 JVM_GetCPFieldModifiers; 88 JVM_GetCPFieldNameUTF; 89 JVM_GetCPFieldSignatureUTF; 90 JVM_GetCPMethodClassNameUTF; 91 JVM_GetCPMethodModifiers; 92 JVM_GetCPMethodNameUTF; 93 JVM_GetCPMethodSignatureUTF; 94 JVM_GetCallerClass; 95 JVM_GetClassAccessFlags; 96 JVM_GetClassAnnotations; 97 JVM_GetClassCPEntriesCount; 98 JVM_GetClassCPTypes; 99 JVM_GetClassConstantPool; 100 JVM_GetClassContext; 101 JVM_GetClassDeclaredConstructors; 102 JVM_GetClassDeclaredFields; 103 JVM_GetClassDeclaredMethods; 104 JVM_GetClassFieldsCount; 105 JVM_GetClassInterfaces; 106 JVM_GetClassMethodsCount; 107 JVM_GetClassModifiers; 108 JVM_GetClassName; 109 JVM_GetClassNameUTF; 110 JVM_GetClassSignature; 111 JVM_GetClassSigners; 112 JVM_GetClassTypeAnnotations; 113 JVM_GetDeclaredClasses; 114 JVM_GetDeclaringClass; 115 JVM_GetEnclosingMethodInfo; 116 JVM_GetFieldIxModifiers; 117 JVM_GetFieldTypeAnnotations; 118 JVM_GetInheritedAccessControlContext; 119 JVM_GetInterfaceVersion; 120 JVM_GetManagement; 121 JVM_GetMethodIxArgsSize; 122 JVM_GetMethodIxByteCode; 123 JVM_GetMethodIxByteCodeLength; 124 JVM_GetMethodIxExceptionIndexes; 125 JVM_GetMethodIxExceptionTableEntry; 126 JVM_GetMethodIxExceptionTableLength; 127 JVM_GetMethodIxExceptionsCount; 128 JVM_GetMethodIxLocalsCount; 129 JVM_GetMethodIxMaxStack; 130 JVM_GetMethodIxModifiers; 131 JVM_GetMethodIxNameUTF; 132 JVM_GetMethodIxSignatureUTF; 133 JVM_GetMethodParameters; 134 JVM_GetMethodTypeAnnotations; 135 JVM_GetPrimitiveArrayElement; 136 JVM_GetProtectionDomain; 137 JVM_GetStackAccessControlContext; 138 JVM_GetStackTraceDepth; 139 JVM_GetStackTraceElement; 140 JVM_GetSystemPackage; 141 JVM_GetSystemPackages; 142 JVM_GetTemporaryDirectory; 143 JVM_GetVersionInfo; 144 JVM_Halt; 145 JVM_HoldsLock; 146 JVM_IHashCode; 147 JVM_InitAgentProperties; 148 JVM_InitProperties; 149 JVM_InternString; 150 JVM_Interrupt; 151 JVM_InvokeMethod; 152 JVM_IsArrayClass; 153 JVM_IsConstructorIx; 154 JVM_IsInterface; 155 JVM_IsInterrupted; 156 JVM_IsPrimitiveClass; 157 JVM_IsSameClassPackage; 158 JVM_IsSupportedJNIVersion; 159 JVM_IsThreadAlive; 160 JVM_IsVMGeneratedMethodIx; 161 JVM_LatestUserDefinedLoader; 162 JVM_LoadLibrary; 163 JVM_MaxObjectInspectionAge; 164 JVM_MaxMemory; 165 JVM_MonitorNotify; 166 JVM_MonitorNotifyAll; 167 JVM_MonitorWait; 168 JVM_NanoTime; 169 JVM_NativePath; 170 JVM_NewArray; 171 JVM_NewInstanceFromConstructor; 172 JVM_NewMultiArray; 173 JVM_RaiseSignal; 174 JVM_RawMonitorCreate; 175 JVM_RawMonitorDestroy; 176 JVM_RawMonitorEnter; 177 JVM_RawMonitorExit; 178 JVM_RegisterSignal; 179 JVM_ReleaseUTF; 180 JVM_ResumeThread; 181 JVM_SetArrayElement; 182 JVM_SetClassSigners; 183 JVM_SetNativeThreadName; 184 JVM_SetPrimitiveArrayElement; 185 JVM_SetThreadPriority; 186 JVM_Sleep; 187 JVM_StartThread; 188 JVM_StopThread; 189 JVM_SuspendThread; 190 JVM_SupportsCX8; 191 JVM_TotalMemory; 192 JVM_UnloadLibrary; 193 JVM_Yield; 194 JVM_handle_linux_signal; 195 196 # miscellaneous functions 197 jio_fprintf; 198 jio_printf; 199 jio_snprintf; 200 jio_vfprintf; 201 jio_vsnprintf; 202 fork1; 203 numa_warn; 204 numa_error; 205 206 # Needed because there is no JVM interface for this. 207 sysThreadAvailableStackWithSlack; 208 209 # This is for Forte Analyzer profiling support. 210 AsyncGetCallTrace; 211 212 # INSERT VTABLE SYMBOLS HERE 213 214 local: 215 *; 216 }; 217