This was missing from JDK-8296157
$ git diff
diff --git a/test/lib/jdk/test/lib/cds/CDSArchiveUtils.java b/test/lib/jdk/test/lib/cds/CDSArchiveUtils.java
index 69a7f947267..c51490a4a75 100644
--- a/test/lib/jdk/test/lib/cds/CDSArchiveUtils.java
+++ b/test/lib/jdk/test/lib/cds/CDSArchiveUtils.java
@@ -100,7 +100,7 @@ public class CDSArchiveUtils {
offsetJvmIdent = wb.getCDSOffsetForName("FileMapHeader::_jvm_ident");
spOffsetCrc = wb.getCDSOffsetForName("CDSFileMapRegion::_crc");
spUsedOffset = wb.getCDSOffsetForName("CDSFileMapRegion::_used") - spOffsetCrc;
- spOffset = wb.getCDSOffsetForName("CDSFileMapHeaderBase::_space[0]") - offsetMagic;
+ spOffset = wb.getCDSOffsetForName("CDSFileMapHeaderBase::_regions[0]") - offsetMagic;
// constants
staticMagic = wb.getCDSConstantForName("static_magic");
dynamicMagic = wb.getCDSConstantForName("dynamic_magic");
Tests that failed:
runtime/cds/appcds/SharedArchiveConsistency.java
runtime/cds/appcds/dynamicArchive/ArchiveConsistency.java
runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchive.java
$ git diff
diff --git a/test/lib/jdk/test/lib/cds/CDSArchiveUtils.java b/test/lib/jdk/test/lib/cds/CDSArchiveUtils.java
index 69a7f947267..c51490a4a75 100644
--- a/test/lib/jdk/test/lib/cds/CDSArchiveUtils.java
+++ b/test/lib/jdk/test/lib/cds/CDSArchiveUtils.java
@@ -100,7 +100,7 @@ public class CDSArchiveUtils {
offsetJvmIdent = wb.getCDSOffsetForName("FileMapHeader::_jvm_ident");
spOffsetCrc = wb.getCDSOffsetForName("CDSFileMapRegion::_crc");
spUsedOffset = wb.getCDSOffsetForName("CDSFileMapRegion::_used") - spOffsetCrc;
- spOffset = wb.getCDSOffsetForName("CDSFileMapHeaderBase::_space[0]") - offsetMagic;
+ spOffset = wb.getCDSOffsetForName("CDSFileMapHeaderBase::_regions[0]") - offsetMagic;
// constants
staticMagic = wb.getCDSConstantForName("static_magic");
dynamicMagic = wb.getCDSConstantForName("dynamic_magic");
Tests that failed:
runtime/cds/appcds/SharedArchiveConsistency.java
runtime/cds/appcds/dynamicArchive/ArchiveConsistency.java
runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchive.java
- relates to
-
JDK-8296157 Rename FileMapInfo::space_at() to region_at()
- Resolved