changeset 52076:f8626bcc1698 jdk-12+15

8207689: Remove perfCounter _load_instance_class_failCounter used by deleted flag UnsyncloadClass Summary: Delete the perfCounter Reviewed-by: lfoltan, acorn, dholmes
author hseigel
date Wed, 10 Oct 2018 10:18:52 -0400
parents 40aa2d50d116
children b6eaf7b7cd7f
files src/hotspot/share/classfile/classLoader.cpp src/hotspot/share/classfile/classLoader.hpp
diffstat 2 files changed, 0 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/classfile/classLoader.cpp	Wed Oct 10 22:13:30 2018 +0800
+++ b/src/hotspot/share/classfile/classLoader.cpp	Wed Oct 10 10:18:52 2018 -0400
@@ -135,7 +135,6 @@
 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 @@
 
     NEWPERFEVENTCOUNTER(_unsafe_defineClassCallCounter, SUN_CLS,
                         "unsafeDefineClassCalls");
-
-    NEWPERFEVENTCOUNTER(_load_instance_class_failCounter, SUN_CLS,
-                        "loadInstanceClassFailRate");
   }
 
   // lookup zip library entry points
--- a/src/hotspot/share/classfile/classLoader.hpp	Wed Oct 10 22:13:30 2018 +0800
+++ b/src/hotspot/share/classfile/classLoader.hpp	Wed Oct 10 10:18:52 2018 -0400
@@ -192,7 +192,6 @@
   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 @@
     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; }