diff -r 8d838be4f4ec -r 36f534ca18c0 hotspot/src/share/vm/memory/universe.cpp --- a/hotspot/src/share/vm/memory/universe.cpp Fri Jun 12 08:32:43 2015 +0200 +++ b/hotspot/src/share/vm/memory/universe.cpp Fri Jun 19 10:34:38 2015 -0700 @@ -349,37 +349,6 @@ // Have already been initialized. _objectArrayKlassObj->append_to_sibling_list(); - // Compute is_jdk version flags. - // Only 1.3 or later has the java.lang.Shutdown class. - // Only 1.4 or later has the java.lang.CharSequence interface. - // Only 1.5 or later has the java.lang.management.MemoryUsage class. - if (JDK_Version::is_partially_initialized()) { - uint8_t jdk_version; - Klass* k = SystemDictionary::resolve_or_null( - vmSymbols::java_lang_management_MemoryUsage(), THREAD); - CLEAR_PENDING_EXCEPTION; // ignore exceptions - if (k == NULL) { - k = SystemDictionary::resolve_or_null( - vmSymbols::java_lang_CharSequence(), THREAD); - CLEAR_PENDING_EXCEPTION; // ignore exceptions - if (k == NULL) { - k = SystemDictionary::resolve_or_null( - vmSymbols::java_lang_Shutdown(), THREAD); - CLEAR_PENDING_EXCEPTION; // ignore exceptions - if (k == NULL) { - jdk_version = 2; - } else { - jdk_version = 3; - } - } else { - jdk_version = 4; - } - } else { - jdk_version = 5; - } - JDK_Version::fully_initialize(jdk_version); - } - #ifdef ASSERT if (FullGCALot) { // Allocate an array of dummy objects.