< prev index next >
src/hotspot/share/oops/instanceKlass.cpp
Print this page
*** 45,54 ****
--- 45,55 ----
#include "jvmtifiles/jvmti.h"
#include "logging/log.hpp"
#include "logging/logMessage.hpp"
#include "logging/logStream.hpp"
#include "memory/allocation.inline.hpp"
+ #include "memory/archiveUtils.hpp"
#include "memory/iterator.inline.hpp"
#include "memory/metadataFactory.hpp"
#include "memory/metaspaceClosure.hpp"
#include "memory/metaspaceShared.hpp"
#include "memory/oopFactory.hpp"
*** 2539,2549 ****
_methods_jmethod_ids = NULL;
_jni_ids = NULL;
_oop_map_cache = NULL;
// clear _nest_host to ensure re-load at runtime
_nest_host = NULL;
! _package_entry = NULL;
_dep_context_last_cleaned = 0;
}
void InstanceKlass::remove_java_mirror() {
Klass::remove_java_mirror();
--- 2540,2550 ----
_methods_jmethod_ids = NULL;
_jni_ids = NULL;
_oop_map_cache = NULL;
// clear _nest_host to ensure re-load at runtime
_nest_host = NULL;
! _package_entry = NULL; // TODO -- point it to the archived PackageEntry (JDK-8249262)
_dep_context_last_cleaned = 0;
}
void InstanceKlass::remove_java_mirror() {
Klass::remove_java_mirror();
< prev index next >