< prev index next >
src/hotspot/share/classfile/javaClasses.hpp
Print this page
rev 50951 : 8202035: Archive the set of ModuleDescriptor and ModuleReference objects for observable system modules with unnamed initial module.
Summary: Support system module archiving with unnamed initial module at dump time.
Reviewed-by: erikj, coleenp, mchung, iklam, ccheung
Contributed-by: alan.bateman@oracle.com, jiangli.zhou@oracle.com
@@ -1489,10 +1489,23 @@
static void compute_offsets();
static oop get_owner_threadObj(oop obj);
static void serialize(SerializeClosure* f) NOT_CDS_RETURN;
};
+class jdk_internal_module_ArchivedModuleGraph: AllStatic {
+ private:
+ static int _archivedSystemModules_offset;
+ static int _archivedModuleFinder_offset;
+ static int _archivedMainModule_offset;
+ public:
+ static int archivedSystemModules_offset() { return _archivedSystemModules_offset; }
+ static int archivedModuleFinder_offset() { return _archivedModuleFinder_offset; }
+ static int archivedMainModule_offset() { return _archivedMainModule_offset; }
+ static void compute_offsets();
+ static void serialize(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
// fields that might already exist in Java but should be injected if
// they don't. Otherwise the field is unconditionally injected and
< prev index next >