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

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

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Version:
      13
    • Resolved In Build:
      b08
    • CPU:
      aarch64
    • OS:
      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

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

                  Dates

                  Created:
                  Updated:
                  Resolved: