mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8253496: [BACKOUT] JDK-8253208 Move CDS related code to a separate class
Reviewed-by: eosterlund, dcubed
This commit is contained in:
parent
581f0f2643
commit
65af837391
22 changed files with 99 additions and 103 deletions
|
@ -33,7 +33,6 @@ import java.util.Objects;
|
|||
import java.util.Optional;
|
||||
|
||||
import jdk.internal.HotSpotIntrinsicCandidate;
|
||||
import jdk.internal.misc.CDS;
|
||||
import jdk.internal.misc.VM;
|
||||
|
||||
import static java.lang.String.COMPACT_STRINGS;
|
||||
|
@ -1024,7 +1023,7 @@ public final class Integer extends Number
|
|||
high = h;
|
||||
|
||||
// Load IntegerCache.archivedCache from archive, if possible
|
||||
CDS.initializeFromArchive(IntegerCache.class);
|
||||
VM.initializeFromArchive(IntegerCache.class);
|
||||
int size = (high - low) + 1;
|
||||
|
||||
// Use the archived cache if it exists and is large enough
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue