1 #
   2 # Copyright (c) 2002, 2015, 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_GetInheritedAccessControlContext;
 118                 JVM_GetInterfaceVersion;
 119                 JVM_GetManagement;
 120                 JVM_GetMethodIxArgsSize;
 121                 JVM_GetMethodIxByteCode;
 122                 JVM_GetMethodIxByteCodeLength;
 123                 JVM_GetMethodIxExceptionIndexes;
 124                 JVM_GetMethodIxExceptionTableEntry;
 125                 JVM_GetMethodIxExceptionTableLength;
 126                 JVM_GetMethodIxExceptionsCount;
 127                 JVM_GetMethodIxLocalsCount;
 128                 JVM_GetMethodIxMaxStack;
 129                 JVM_GetMethodIxModifiers;
 130                 JVM_GetMethodIxNameUTF;
 131                 JVM_GetMethodIxSignatureUTF;
 132                 JVM_GetMethodParameters;
 133                 JVM_GetPrimitiveArrayElement;
 134                 JVM_GetProtectionDomain;
 135                 JVM_GetStackAccessControlContext;
 136                 JVM_GetStackTraceDepth;
 137                 JVM_GetStackTraceElement;
 138                 JVM_GetSystemPackage;
 139                 JVM_GetSystemPackages;
 140                 JVM_GetTemporaryDirectory;
 141                 JVM_GetNanoTimeAdjustment;
 142                 JVM_GetVersionInfo;
 143                 JVM_Halt;
 144                 JVM_HoldsLock;
 145                 JVM_IHashCode;
 146                 JVM_InitAgentProperties;
 147                 JVM_InitProperties;
 148                 JVM_InternString;
 149                 JVM_Interrupt;
 150                 JVM_InvokeMethod;
 151                 JVM_IsArrayClass;
 152                 JVM_IsConstructorIx;
 153                 JVM_IsInterface;
 154                 JVM_IsInterrupted;
 155                 JVM_IsPrimitiveClass;
 156                 JVM_IsSameClassPackage;
 157                 JVM_IsSupportedJNIVersion;
 158                 JVM_IsThreadAlive;
 159                 JVM_IsVMGeneratedMethodIx;
 160                 JVM_LatestUserDefinedLoader;
 161                 JVM_LoadLibrary;
 162                 JVM_MaxObjectInspectionAge;
 163                 JVM_MaxMemory;
 164                 JVM_MonitorNotify;
 165                 JVM_MonitorNotifyAll;
 166                 JVM_MonitorWait;
 167                 JVM_NanoTime;
 168                 JVM_NativePath;
 169                 JVM_NewArray;
 170                 JVM_NewInstanceFromConstructor;
 171                 JVM_NewMultiArray;
 172                 JVM_RaiseSignal;
 173                 JVM_RawMonitorCreate;
 174                 JVM_RawMonitorDestroy;
 175                 JVM_RawMonitorEnter;
 176                 JVM_RawMonitorExit;
 177                 JVM_RegisterSignal;
 178                 JVM_ReleaseUTF;
 179                 JVM_ResumeThread;
 180                 JVM_SetArrayElement;
 181                 JVM_SetClassSigners;
 182                 JVM_SetNativeThreadName;
 183                 JVM_SetPrimitiveArrayElement;
 184                 JVM_SetProtectionDomain;
 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