equal
deleted
inserted
replaced
190 static PerfCounter* _sync_JVMFindLoadedClassLockFreeCounter; |
190 static PerfCounter* _sync_JVMFindLoadedClassLockFreeCounter; |
191 static PerfCounter* _sync_JVMDefineClassLockFreeCounter; |
191 static PerfCounter* _sync_JVMDefineClassLockFreeCounter; |
192 static PerfCounter* _sync_JNIDefineClassLockFreeCounter; |
192 static PerfCounter* _sync_JNIDefineClassLockFreeCounter; |
193 |
193 |
194 static PerfCounter* _unsafe_defineClassCallCounter; |
194 static PerfCounter* _unsafe_defineClassCallCounter; |
195 static PerfCounter* _load_instance_class_failCounter; |
|
196 |
195 |
197 // The boot class path consists of 3 ordered pieces: |
196 // The boot class path consists of 3 ordered pieces: |
198 // 1. the module/path pairs specified to --patch-module |
197 // 1. the module/path pairs specified to --patch-module |
199 // --patch-module=<module>=<file>(<pathsep><file>)* |
198 // --patch-module=<module>=<file>(<pathsep><file>)* |
200 // 2. the base piece |
199 // 2. the base piece |
336 } |
335 } |
337 |
336 |
338 // Record how many calls to Unsafe_DefineClass |
337 // Record how many calls to Unsafe_DefineClass |
339 static PerfCounter* unsafe_defineClassCallCounter() { |
338 static PerfCounter* unsafe_defineClassCallCounter() { |
340 return _unsafe_defineClassCallCounter; |
339 return _unsafe_defineClassCallCounter; |
341 } |
|
342 |
|
343 // Record how many times SystemDictionary::load_instance_class call |
|
344 // fails with linkageError when Unsyncloadclass flag is set. |
|
345 static PerfCounter* load_instance_class_failCounter() { |
|
346 return _load_instance_class_failCounter; |
|
347 } |
340 } |
348 |
341 |
349 // Modular java runtime image is present vs. a build with exploded modules |
342 // Modular java runtime image is present vs. a build with exploded modules |
350 static bool has_jrt_entry() { return (_jrt_entry != NULL); } |
343 static bool has_jrt_entry() { return (_jrt_entry != NULL); } |
351 static ClassPathEntry* get_jrt_entry() { return _jrt_entry; } |
344 static ClassPathEntry* get_jrt_entry() { return _jrt_entry; } |