Tue, 27 May 2014 08:44:23 -0700
8038422: CDS test failed: assert((size % os::vm_allocation_granularity()) == 0) failed when limiting SharedMiscDataSize
Summary: In debug version, the assert is against os::vm_allocation_granularity(), but in initialization, we use os::vm_page_size() to align the allocation size. In windows, _vm_page_size and _vm_allocation_granularity may not be same. In debug version, the assert is against os::vm_allocation_granularity(), but in initialization, we use os::vm_page_size() to align the allocation size. In windows, _vm_page_size and _vm_allocation_granularity may not be same.
Reviewed-by: dholmes, iklam, jiangli, coleenp
Contributed-by: yumin.qi@oracle.com
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 # Only used for OSX/Darwin builds
26 # Define public interface.
27 # _JNI
28 _JNI_CreateJavaVM
29 _JNI_GetCreatedJavaVMs
30 _JNI_GetDefaultJavaVMInitArgs
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_Bind
41 _JVM_ClassDepth
42 _JVM_ClassLoaderDepth
43 _JVM_Clone
44 _JVM_Close
45 _JVM_CX8Field
46 _JVM_CompileClass
47 _JVM_CompileClasses
48 _JVM_CompilerCommand
49 _JVM_Connect
50 _JVM_ConstantPoolGetClassAt
51 _JVM_ConstantPoolGetClassAtIfLoaded
52 _JVM_ConstantPoolGetDoubleAt
53 _JVM_ConstantPoolGetFieldAt
54 _JVM_ConstantPoolGetFieldAtIfLoaded
55 _JVM_ConstantPoolGetFloatAt
56 _JVM_ConstantPoolGetIntAt
57 _JVM_ConstantPoolGetLongAt
58 _JVM_ConstantPoolGetMethodAt
59 _JVM_ConstantPoolGetMethodAtIfLoaded
60 _JVM_ConstantPoolGetMemberRefInfoAt
61 _JVM_ConstantPoolGetSize
62 _JVM_ConstantPoolGetStringAt
63 _JVM_ConstantPoolGetUTF8At
64 _JVM_CountStackFrames
65 _JVM_CurrentClassLoader
66 _JVM_CurrentLoadedClass
67 _JVM_CurrentThread
68 _JVM_CurrentTimeMillis
69 _JVM_DefineClass
70 _JVM_DefineClassWithSource
71 _JVM_DefineClassWithSourceCond
72 _JVM_DesiredAssertionStatus
73 _JVM_DisableCompiler
74 _JVM_DoPrivileged
75 _JVM_DTraceGetVersion
76 _JVM_DTraceActivate
77 _JVM_DTraceIsProbeEnabled
78 _JVM_DTraceIsSupported
79 _JVM_DTraceDispose
80 _JVM_DumpAllStacks
81 _JVM_DumpThreads
82 _JVM_EnableCompiler
83 _JVM_Exit
84 _JVM_FillInStackTrace
85 _JVM_FindClassFromCaller
86 _JVM_FindClassFromClass
87 _JVM_FindClassFromClassLoader
88 _JVM_FindClassFromBootLoader
89 _JVM_FindLibraryEntry
90 _JVM_FindLoadedClass
91 _JVM_FindPrimitiveClass
92 _JVM_FindSignal
93 _JVM_FreeMemory
94 _JVM_GC
95 _JVM_GetAllThreads
96 _JVM_GetArrayElement
97 _JVM_GetArrayLength
98 _JVM_GetCPClassNameUTF
99 _JVM_GetCPFieldClassNameUTF
100 _JVM_GetCPFieldModifiers
101 _JVM_GetCPFieldNameUTF
102 _JVM_GetCPFieldSignatureUTF
103 _JVM_GetCPMethodClassNameUTF
104 _JVM_GetCPMethodModifiers
105 _JVM_GetCPMethodNameUTF
106 _JVM_GetCPMethodSignatureUTF
107 _JVM_GetCallerClass
108 _JVM_GetClassAccessFlags
109 _JVM_GetClassAnnotations
110 _JVM_GetClassCPEntriesCount
111 _JVM_GetClassCPTypes
112 _JVM_GetClassConstantPool
113 _JVM_GetClassContext
114 _JVM_GetClassDeclaredConstructors
115 _JVM_GetClassDeclaredFields
116 _JVM_GetClassDeclaredMethods
117 _JVM_GetClassFieldsCount
118 _JVM_GetClassInterfaces
119 _JVM_GetClassLoader
120 _JVM_GetClassMethodsCount
121 _JVM_GetClassModifiers
122 _JVM_GetClassName
123 _JVM_GetClassNameUTF
124 _JVM_GetClassSignature
125 _JVM_GetClassSigners
126 _JVM_GetClassTypeAnnotations
127 _JVM_GetComponentType
128 _JVM_GetDeclaredClasses
129 _JVM_GetDeclaringClass
130 _JVM_GetEnclosingMethodInfo
131 _JVM_GetFieldAnnotations
132 _JVM_GetFieldIxModifiers
133 _JVM_GetFieldTypeAnnotations
134 _JVM_GetHostName
135 _JVM_GetInheritedAccessControlContext
136 _JVM_GetInterfaceVersion
137 _JVM_GetLastErrorString
138 _JVM_GetManagement
139 _JVM_GetMethodAnnotations
140 _JVM_GetMethodDefaultAnnotationValue
141 _JVM_GetMethodIxArgsSize
142 _JVM_GetMethodIxByteCode
143 _JVM_GetMethodIxByteCodeLength
144 _JVM_GetMethodIxExceptionIndexes
145 _JVM_GetMethodIxExceptionTableEntry
146 _JVM_GetMethodIxExceptionTableLength
147 _JVM_GetMethodIxExceptionsCount
148 _JVM_GetMethodIxLocalsCount
149 _JVM_GetMethodIxMaxStack
150 _JVM_GetMethodIxModifiers
151 _JVM_GetMethodIxNameUTF
152 _JVM_GetMethodIxSignatureUTF
153 _JVM_GetMethodParameterAnnotations
154 _JVM_GetMethodParameters
155 _JVM_GetMethodTypeAnnotations
156 _JVM_GetPrimitiveArrayElement
157 _JVM_GetProtectionDomain
158 _JVM_GetSockName
159 _JVM_GetSockOpt
160 _JVM_GetStackAccessControlContext
161 _JVM_GetStackTraceDepth
162 _JVM_GetStackTraceElement
163 _JVM_GetSystemPackage
164 _JVM_GetSystemPackages
165 _JVM_GetTemporaryDirectory
166 _JVM_GetThreadStateNames
167 _JVM_GetThreadStateValues
168 _JVM_GetVersionInfo
169 _JVM_Halt
170 _JVM_HoldsLock
171 _JVM_IHashCode
172 _JVM_InitAgentProperties
173 _JVM_InitProperties
174 _JVM_InitializeCompiler
175 _JVM_InitializeSocketLibrary
176 _JVM_InternString
177 _JVM_Interrupt
178 _JVM_InvokeMethod
179 _JVM_IsArrayClass
180 _JVM_IsConstructorIx
181 _JVM_IsInterface
182 _JVM_IsInterrupted
183 _JVM_IsNaN
184 _JVM_IsPrimitiveClass
185 _JVM_IsSameClassPackage
186 _JVM_IsSilentCompiler
187 _JVM_IsSupportedJNIVersion
188 _JVM_IsThreadAlive
189 _JVM_IsVMGeneratedMethodIx
190 _JVM_LatestUserDefinedLoader
191 _JVM_Listen
192 _JVM_LoadClass0
193 _JVM_LoadLibrary
194 _JVM_Lseek
195 _JVM_MaxObjectInspectionAge
196 _JVM_MaxMemory
197 _JVM_MonitorNotify
198 _JVM_MonitorNotifyAll
199 _JVM_MonitorWait
200 _JVM_NanoTime
201 _JVM_NativePath
202 _JVM_NewArray
203 _JVM_NewInstanceFromConstructor
204 _JVM_NewMultiArray
205 _JVM_OnExit
206 _JVM_Open
207 _JVM_RaiseSignal
208 _JVM_RawMonitorCreate
209 _JVM_RawMonitorDestroy
210 _JVM_RawMonitorEnter
211 _JVM_RawMonitorExit
212 _JVM_Read
213 _JVM_Recv
214 _JVM_RecvFrom
215 _JVM_RegisterSignal
216 _JVM_ReleaseUTF
217 _JVM_ResolveClass
218 _JVM_ResumeThread
219 _JVM_Send
220 _JVM_SendTo
221 _JVM_SetArrayElement
222 _JVM_SetClassSigners
223 _JVM_SetLength
224 _JVM_SetNativeThreadName
225 _JVM_SetPrimitiveArrayElement
226 _JVM_SetSockOpt
227 _JVM_SetThreadPriority
228 _JVM_Sleep
229 _JVM_Socket
230 _JVM_SocketAvailable
231 _JVM_SocketClose
232 _JVM_SocketShutdown
233 _JVM_StartThread
234 _JVM_StopThread
235 _JVM_SuspendThread
236 _JVM_SupportsCX8
237 _JVM_Sync
238 _JVM_Timeout
239 _JVM_TotalMemory
240 _JVM_TraceInstructions
241 _JVM_TraceMethodCalls
242 _JVM_UnloadLibrary
243 _JVM_Write
244 _JVM_Yield
245 _JVM_handle_bsd_signal
247 # miscellaneous functions
248 _jio_fprintf
249 _jio_printf
250 _jio_snprintf
251 _jio_vfprintf
252 _jio_vsnprintf
254 # This is for Forte Analyzer profiling support.
255 _AsyncGetCallTrace
257 # INSERT VTABLE SYMBOLS HERE