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

MacroAssembler::post_call_nop should have InstructionMark

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • 19
    • hotspot
    • None
    • b23

      InstructionMark checks the instruction boundaries, which is important for relocatable instructions. Everywhere where we do any (?) sort of relocation, we do InstructionMark. I found that newly added MacroAssembler::post_call_nop does not have it, and thus some new code in x86_32 Loom prototype fails with instruction mark / instruction overlapping checks.

            shade Aleksey Shipilev
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: