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

Shenandoah: AArch64: Clobbered register in ShenandoahBarrierSetAssembler::cmpxchg_oop()

    XMLWordPrintable

Details

    • 13
    • b08
    • aarch64
    • generic

    Backports

      Description

        When called from C2, in ShenandoahBarrierSetAssembler::cmpxchg_oop() the result register may overlap with other input argument registers and thus fail the leading assert, and lead to clobbered registers. In the body of the code block, a temporary register should be used instead, and result should only get filled in at the end.

        Attachments

          Issue Links

            Activity

              People

                rkennke Roman Kennke
                rkennke Roman Kennke
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: