< prev index next >
src/share/vm/memory/universe.hpp
Print this page
*** 65,74 ****
--- 65,75 ----
// CDS support. Replace the klass in this with the archive version
// could use this for Enhanced Class Redefinition also.
void serialize(SerializeClosure* f) {
f->do_ptr((void**)&_klass);
}
+ void metaspace_pointers_do(MetaspaceClosure* it);
};
// For UseCompressedOops.
struct NarrowPtrStruct {
*** 100,109 ****
--- 101,111 ----
friend class SystemDictionary;
friend class ReservedHeapSpace;
friend class VMStructs;
friend class VM_PopulateDumpSharedSpace;
friend class Metaspace;
+ friend class MetaspaceShared;
friend jint universe_init();
friend void universe2_init();
friend bool universe_post_init();
friend void universe_post_module_init();
*** 472,481 ****
--- 474,484 ----
static void serialize(SerializeClosure* f, bool do_all = false);
// Apply "f" to all klasses for basic types (classes not present in
// SystemDictionary).
static void basic_type_classes_do(void f(Klass*));
+ static void metaspace_pointers_do(MetaspaceClosure* it);
// Debugging
enum VERIFY_FLAGS {
Verify_Threads = 1,
Verify_Heap = 2,
< prev index next >