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

x86: Use cmpq(Register,Address) in safepoint_poll

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 16
    • 16
    • hotspot
    • None
    • b23

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: