< prev index next >

src/hotspot/share/gc/shared/c2/barrierSetC2.cpp

Print this page
@@ -656,10 +656,11 @@
    // 8  - 32-bit VM
    // 12 - 64-bit VM, compressed klass
    // 16 - 64-bit VM, normal klass
    if (base_off % BytesPerLong != 0) {
      assert(UseCompressedClassPointers, "");
+     assert(!UseCompactObjectHeaders, "");
      if (is_array) {
        // Exclude length to copy by 8 bytes words.
        base_off += sizeof(int);
      } else {
        // Include klass to copy by 8 bytes words.
< prev index next >