mirror of
https://github.com/openjdk/jdk.git
synced 2026-07-19 23:48:50 +00:00
8207689: Remove perfCounter _load_instance_class_failCounter used by deleted flag UnsyncloadClass
Delete the perfCounter Reviewed-by: lfoltan, acorn, dholmes
This commit is contained in:
parent
1e887a901e
commit
8c62c2e33a
@ -135,7 +135,6 @@ PerfCounter* ClassLoader::_sync_JVMFindLoadedClassLockFreeCounter = NULL;
|
||||
PerfCounter* ClassLoader::_sync_JVMDefineClassLockFreeCounter = NULL;
|
||||
PerfCounter* ClassLoader::_sync_JNIDefineClassLockFreeCounter = NULL;
|
||||
PerfCounter* ClassLoader::_unsafe_defineClassCallCounter = NULL;
|
||||
PerfCounter* ClassLoader::_load_instance_class_failCounter = NULL;
|
||||
|
||||
GrowableArray<ModuleClassPathList*>* ClassLoader::_patch_mod_entries = NULL;
|
||||
GrowableArray<ModuleClassPathList*>* ClassLoader::_exploded_entries = NULL;
|
||||
@ -1604,9 +1603,6 @@ void ClassLoader::initialize() {
|
||||
|
||||
NEWPERFEVENTCOUNTER(_unsafe_defineClassCallCounter, SUN_CLS,
|
||||
"unsafeDefineClassCalls");
|
||||
|
||||
NEWPERFEVENTCOUNTER(_load_instance_class_failCounter, SUN_CLS,
|
||||
"loadInstanceClassFailRate");
|
||||
}
|
||||
|
||||
// lookup zip library entry points
|
||||
|
||||
@ -192,7 +192,6 @@ class ClassLoader: AllStatic {
|
||||
static PerfCounter* _sync_JNIDefineClassLockFreeCounter;
|
||||
|
||||
static PerfCounter* _unsafe_defineClassCallCounter;
|
||||
static PerfCounter* _load_instance_class_failCounter;
|
||||
|
||||
// The boot class path consists of 3 ordered pieces:
|
||||
// 1. the module/path pairs specified to --patch-module
|
||||
@ -340,12 +339,6 @@ class ClassLoader: AllStatic {
|
||||
return _unsafe_defineClassCallCounter;
|
||||
}
|
||||
|
||||
// Record how many times SystemDictionary::load_instance_class call
|
||||
// fails with linkageError when Unsyncloadclass flag is set.
|
||||
static PerfCounter* load_instance_class_failCounter() {
|
||||
return _load_instance_class_failCounter;
|
||||
}
|
||||
|
||||
// Modular java runtime image is present vs. a build with exploded modules
|
||||
static bool has_jrt_entry() { return (_jrt_entry != NULL); }
|
||||
static ClassPathEntry* get_jrt_entry() { return _jrt_entry; }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user