diff -r 0f1e29c77e50 -r 0fb70c9118ce src/hotspot/share/classfile/systemDictionary.hpp --- a/src/hotspot/share/classfile/systemDictionary.hpp Wed Jul 10 05:12:23 2019 +0100 +++ b/src/hotspot/share/classfile/systemDictionary.hpp Wed Jul 10 07:58:24 2019 -0400 @@ -362,13 +362,6 @@ static void print_on(outputStream* st); static void dump(outputStream* st, bool verbose); - // Monotonically increasing counter which grows as classes are - // loaded or modifications such as hot-swapping or setting/removing - // of breakpoints are performed - static inline int number_of_modifications() { assert_locked_or_safepoint(Compile_lock); return _number_of_modifications; } - // Needed by evolution and breakpoint code - static inline void notice_modification() { assert_locked_or_safepoint(Compile_lock); ++_number_of_modifications; } - // Verification static void verify(); @@ -555,11 +548,6 @@ // Hashtable holding placeholders for classes being loaded. static PlaceholderTable* _placeholders; - // Monotonically increasing counter which grows with - // loading classes as well as hot-swapping and breakpoint setting - // and removal. - static int _number_of_modifications; - // Lock object for system class loader static oop _system_loader_lock_obj;