Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8270527

[lworld] markWord::print_on() needs to reflect the additional Valhalla mark word bits

XMLWordPrintable

      markWord::print_on() needs to reflect the additional Valhalla mark word bits, see src/hotspot/share/oops/markWord.hpp:

      // Revised Bit-format of an object header (most significant first, big endian layout below):
      //
      // 32 bits:
      // --------
      // hash:24 ------------>| larval:1 age:4 inline_type:1 lock:2
      //
      // 64 bits:
      // --------
      // unused:1 | <-- hash:31 -->| unused:22 larval:1 age:4 flat_array:1 null_free_array:1 inline_type:1 lock:2

            coleenp Coleen Phillimore
            dsimms David Simms
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: