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

x86: Use cmpq(Register,Address) in safepoint_poll

XMLWordPrintable

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

      JDK-8253180 added a new block in `safepoint_poll` that uses broken `cmpq` (JDK-8255550): it effectively does the comparison with operands swapped.

      It makes sense to use the non-broken `cmpq`, as to avoid changing the condition code and thus making the code less understandable.

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

              Created:
              Updated:
              Resolved: