mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 01:24:33 +02:00
8297914: Remove java_lang_Class::process_archived_mirror()
Reviewed-by: ccheung
This commit is contained in:
parent
4be94e4350
commit
7bcd5f418c
10 changed files with 269 additions and 281 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -692,6 +692,12 @@ void InstanceKlass::deallocate_contents(ClassLoaderData* loader_data) {
|
|||
set_annotations(NULL);
|
||||
|
||||
SystemDictionaryShared::handle_class_unloading(this);
|
||||
|
||||
#if INCLUDE_CDS_JAVA_HEAP
|
||||
if (DumpSharedSpaces) {
|
||||
HeapShared::remove_scratch_objects(this);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
bool InstanceKlass::is_record() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue