mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8290833
: Remove ConstantPoolCache::walk_entries_for_initialization()
Reviewed-by: coleenp, ccheung
This commit is contained in:
parent
755ecf6b73
commit
bd5855337c
9 changed files with 124 additions and 85 deletions
|
@ -576,6 +576,7 @@ void InstanceKlass::deallocate_record_components(ClassLoaderData* loader_data,
|
|||
// This function deallocates the metadata and C heap pointers that the
|
||||
// InstanceKlass points to.
|
||||
void InstanceKlass::deallocate_contents(ClassLoaderData* loader_data) {
|
||||
SystemDictionaryShared::handle_class_unloading(this);
|
||||
|
||||
// Orphan the mirror first, CMS thinks it's still live.
|
||||
if (java_mirror() != NULL) {
|
||||
|
@ -691,8 +692,6 @@ void InstanceKlass::deallocate_contents(ClassLoaderData* loader_data) {
|
|||
MetadataFactory::free_metadata(loader_data, annotations());
|
||||
}
|
||||
set_annotations(NULL);
|
||||
|
||||
SystemDictionaryShared::handle_class_unloading(this);
|
||||
}
|
||||
|
||||
bool InstanceKlass::is_record() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue