< prev index next >

src/hotspot/share/cds/metaspaceShared.cpp

Print this page
@@ -1152,14 +1152,14 @@
            address ccs_end = (address)class_space_rs.end();
            assert(ccs_end > cds_base, "Sanity check");
  #if INCLUDE_CDS_JAVA_HEAP
            // We archived objects with pre-computed narrow Klass id. Set up encoding such that these Ids stay valid.
            address precomputed_narrow_klass_base = cds_base;
-           const int precomputed_narrow_klass_shift = ArchiveHeapWriter::precomputed_narrow_klass_shift;
+           const int precomputed_narrow_klass_shift = ArchiveBuilder::precomputed_narrow_klass_shift;
            CompressedKlassPointers::initialize_for_given_encoding(
              cds_base, ccs_end - cds_base, // Klass range
-             precomputed_narrow_klass_base, precomputed_narrow_klass_shift // precomputed encoding, see ArchiveHeapWriter
+             precomputed_narrow_klass_base, precomputed_narrow_klass_shift // precomputed encoding, see ArchiveBuilder
              );
  #else
            CompressedKlassPointers::initialize (
              cds_base, ccs_end - cds_base // Klass range
              );
< prev index next >