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 # Only used for OSX/Darwin builds
  25 
  26 # Define public interface.
  27                 # _JNI
  28                 _JNI_CreateJavaVM
  29                 _JNI_GetCreatedJavaVMs
  30                 _JNI_GetDefaultJavaVMInitArgs
  31 
  32                 # _JVM
  33                 _JVM_Accept
  34                 _JVM_ActiveProcessorCount
  35                 _JVM_AllocateNewArray
  36                 _JVM_AllocateNewObject
  37                 _JVM_ArrayCopy
  38                 _JVM_AssertionStatusDirectives
  39                 _JVM_Available
  40                 _JVM_BeforeHalt
  41                 _JVM_Bind
  42                 _JVM_ClassDepth
  43                 _JVM_ClassLoaderDepth
  44                 _JVM_Clone
  45                 _JVM_Close
  46                 _JVM_CX8Field
  47                 _JVM_CompileClass
  48                 _JVM_CompileClasses
  49                 _JVM_CompilerCommand
  50                 _JVM_Connect
  51                 _JVM_ConstantPoolGetClassAt
  52                 _JVM_ConstantPoolGetClassAtIfLoaded
  53                 _JVM_ConstantPoolGetDoubleAt
  54                 _JVM_ConstantPoolGetFieldAt
  55                 _JVM_ConstantPoolGetFieldAtIfLoaded
  56                 _JVM_ConstantPoolGetFloatAt
  57                 _JVM_ConstantPoolGetIntAt
  58                 _JVM_ConstantPoolGetLongAt
  59                 _JVM_ConstantPoolGetMethodAt
  60                 _JVM_ConstantPoolGetMethodAtIfLoaded
  61                 _JVM_ConstantPoolGetMemberRefInfoAt
  62                 _JVM_ConstantPoolGetSize
  63                 _JVM_ConstantPoolGetStringAt
  64                 _JVM_ConstantPoolGetUTF8At
  65                 _JVM_CopySwapMemory
  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_KnownToNotExist
 193                 _JVM_GetResourceLookupCacheURLs
 194                 _JVM_GetResourceLookupCache
 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_ResumeThread
 224                 _JVM_Send
 225                 _JVM_SendTo
 226                 _JVM_SetArrayElement
 227                 _JVM_SetClassSigners
 228                 _JVM_SetLength
 229                 _JVM_SetNativeThreadName
 230                 _JVM_SetPrimitiveArrayElement
 231                 _JVM_SetSockOpt
 232                 _JVM_SetThreadPriority
 233                 _JVM_Sleep
 234                 _JVM_Socket
 235                 _JVM_SocketAvailable
 236                 _JVM_SocketClose
 237                 _JVM_SocketShutdown
 238                 _JVM_StartThread
 239                 _JVM_StopThread
 240                 _JVM_SuspendThread
 241                 _JVM_SupportsCX8
 242                 _JVM_Sync
 243                 _JVM_Timeout
 244                 _JVM_TotalMemory
 245                 _JVM_TraceInstructions
 246                 _JVM_TraceMethodCalls
 247                 _JVM_UnloadLibrary
 248                 _JVM_Write
 249                 _JVM_Yield
 250                 _JVM_handle_bsd_signal
 251 
 252                 # debug _JVM
 253                 _JVM_AccessVMBooleanFlag
 254                 _JVM_AccessVMIntFlag
 255                 _JVM_VMBreakPoint
 256 
 257                 # miscellaneous functions
 258                 _jio_fprintf
 259                 _jio_printf
 260                 _jio_snprintf
 261                 _jio_vfprintf
 262                 _jio_vsnprintf
 263 
 264                 # This is for Forte Analyzer profiling support.
 265                 _AsyncGetCallTrace
 266 
 267                 # INSERT VTABLE SYMBOLS HERE
 268