< prev index next > src/hotspot/share/cds/cdsHeapVerifier.cpp
Print this page
if (CDSConfig::is_dumping_aot_linked_classes()) {
ADD_EXCL("java/lang/Package$VersionInfo", "NULL_VERSION_INFO"); // D
}
+ if (CDSConfig::is_dumping_dynamic_proxies()) {
+ ADD_EXCL("java/lang/reflect/ProxyGenerator", "CD_Object_array"); // D
+ }
+
+ // These are used by BuiltinClassLoader::negativeLookupCache, etc but seem to be
+ // OK. TODO - we should completely disable the caching unless ArchiveLoaderLookupCache
+ // is enabled
+ ADD_EXCL("java/lang/Boolean", "TRUE", // E
+ "FALSE"); // E
+
# undef ADD_EXCL
if (CDSConfig::is_initing_classes_at_dump_time()) {
add_shared_secret_accessors();
}
void do_field(fieldDescriptor* fd) {
if (fd->field_type() != T_OBJECT) {
return;
}
+ if (fd->signature()->equals("Ljdk/internal/reflect/ReflectionFactory;")) {
+ return;
+ }
oop static_obj_field = _ik->java_mirror()->obj_field(fd->offset());
if (static_obj_field != nullptr) {
if (_verifier->is_shared_secret_accessor(static_obj_field)) {
return;
}
< prev index next >