mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8015086: add interned strings to the shared archive
Support saving interned strings in shared CDS archive. Reviewed-by: coleenp, iklam, pliden
This commit is contained in:
parent
c3f3f0f1bd
commit
edcd4cb94b
17 changed files with 724 additions and 116 deletions
|
@ -311,6 +311,7 @@ void Universe::genesis(TRAPS) {
|
|||
SystemDictionary::Cloneable_klass(), "u3");
|
||||
assert(_the_array_interfaces_array->at(1) ==
|
||||
SystemDictionary::Serializable_klass(), "u3");
|
||||
MetaspaceShared::fixup_shared_string_regions();
|
||||
} else {
|
||||
// Set up shared interfaces array. (Do this before supers are set up.)
|
||||
_the_array_interfaces_array->at_put(0, SystemDictionary::Cloneable_klass());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue