--- old/src/hotspot/share/classfile/javaClasses.hpp 2018-08-15 11:18:31.633125726 -0700 +++ new/src/hotspot/share/classfile/javaClasses.hpp 2018-08-15 11:18:31.305112799 -0700 @@ -82,12 +82,6 @@ f(java_lang_StackFrameInfo) \ f(java_lang_LiveStackFrameInfo) \ f(java_util_concurrent_locks_AbstractOwnableSynchronizer) \ - f(jdk_internal_module_ArchivedModuleGraph) \ - f(java_lang_Integer_IntegerCache) \ - f(java_lang_module_Configuration) \ - f(java_util_ImmutableCollections_ListN) \ - f(java_util_ImmutableCollections_MapN) \ - f(java_util_ImmutableCollections_SetN) \ //end #define BASIC_JAVA_CLASSES_DO(f) \ @@ -1531,66 +1525,6 @@ static void serialize_offsets(SerializeClosure* f) NOT_CDS_RETURN; }; -class java_lang_Integer_IntegerCache: AllStatic { - private: - static int _archivedCache_offset; - public: - static int archivedCache_offset() { return _archivedCache_offset; } - static void compute_offsets(); - static void serialize_offsets(SerializeClosure* f) NOT_CDS_RETURN; -}; - -class jdk_internal_module_ArchivedModuleGraph: AllStatic { - private: - static int _archivedSystemModules_offset; - static int _archivedModuleFinder_offset; - static int _archivedMainModule_offset; - static int _archivedConfiguration_offset; - public: - static int archivedSystemModules_offset() { return _archivedSystemModules_offset; } - static int archivedModuleFinder_offset() { return _archivedModuleFinder_offset; } - static int archivedMainModule_offset() { return _archivedMainModule_offset; } - static int archivedConfiguration_offset() { return _archivedConfiguration_offset; } - static void compute_offsets(); - static void serialize_offsets(SerializeClosure* f) NOT_CDS_RETURN; -}; - -class java_lang_module_Configuration: AllStatic { - private: - static int _EMPTY_CONFIGURATION_offset; - public: - static int EMPTY_CONFIGURATION_offset() { return _EMPTY_CONFIGURATION_offset; } - static void compute_offsets(); - static void serialize_offsets(SerializeClosure* f) NOT_CDS_RETURN; -}; - -class java_util_ImmutableCollections_ListN : AllStatic { - private: - static int _EMPTY_LIST_offset; - public: - static int EMPTY_LIST_offset() { return _EMPTY_LIST_offset; } - static void compute_offsets(); - static void serialize_offsets(SerializeClosure* f) NOT_CDS_RETURN; -}; - -class java_util_ImmutableCollections_SetN : AllStatic { - private: - static int _EMPTY_SET_offset; - public: - static int EMPTY_SET_offset() { return _EMPTY_SET_offset; } - static void compute_offsets(); - static void serialize_offsets(SerializeClosure* f) NOT_CDS_RETURN; -}; - -class java_util_ImmutableCollections_MapN : AllStatic { - private: - static int _EMPTY_MAP_offset; - public: - static int EMPTY_MAP_offset() { return _EMPTY_MAP_offset; } - static void compute_offsets(); - static void serialize_offsets(SerializeClosure* f) NOT_CDS_RETURN; -}; - // Use to declare fields that need to be injected into Java classes // for the JVM to use. The name_index and signature_index are // declared in vmSymbols. The may_be_java flag is used to declare