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

Further optimizations are possible for x64 narrow Klass decoding

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 23
    • hotspot
    • None

      <merykitty>

      If we can reserve the base in the low 2G then this could be optimized further to addq(r, CompressedKlassPointers::base()) and if LogKlassAlignmentInBytes is 8 (as asserted in decode_and_move_klass_not_null below), we can shorten the whole sequence into leaq(r, Address(noreg, r, Address::times_8, CompressedKlassPointers::base())

      </merykitty>

            stuefe Thomas Stuefe
            stuefe Thomas Stuefe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: