< prev index next >

src/hotspot/share/oops/instanceKlass.cpp

Print this page

@@ -45,10 +45,11 @@
 #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,11 +2540,11 @@
   _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;
+  _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 >