hg: jdk/jdk: 8232069: Enable CDS even when UseCompressedClassPointers and/or UseCompressedOops are false
yumin.qi at gmail.com
yumin.qi at gmail.com
Tue Feb 11 20:16:34 UTC 2020
Changeset: 73bcb3e4e596
Author: minqi
Date: 2020-02-11 12:16 -0800
URL: https://hg.openjdk.java.net/jdk/jdk/rev/73bcb3e4e596
8232069: Enable CDS even when UseCompressedClassPointers and/or UseCompressedOops are false
Summary: Fix to save UseCompressedOops and UseCompressedClassPointers in shared archive and at runtime run with CDS only if they are matched the stored versions.
Reviewed-by: iklam, ccheung
! src/hotspot/share/include/cds.h
! src/hotspot/share/memory/filemap.cpp
! src/hotspot/share/memory/filemap.hpp
! src/hotspot/share/memory/metaspaceShared.cpp
! src/hotspot/share/runtime/arguments.cpp
! test/hotspot/jtreg/TEST.groups
- test/hotspot/jtreg/runtime/CDSCompressedKPtrs/CDSCompressedKPtrsError.java
! test/hotspot/jtreg/runtime/cds/appcds/CommandLineFlagComboNegative.java
! test/hotspot/jtreg/runtime/cds/appcds/JarBuilder.java
+ test/hotspot/jtreg/runtime/cds/appcds/TestCombinedCompressedFlags.java
+ test/hotspot/jtreg/runtime/cds/appcds/TestZGCWithCDS.java
! test/hotspot/jtreg/runtime/cds/appcds/cacheObject/DifferentHeapSizes.java
! test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/IncompatibleOptions.java
! test/lib/jdk/test/lib/cds/CDSTestUtils.java
More information about the jdk-changes
mailing list