AArch64: Missing enter/leave around barrier leads to infinite loop

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 11
    • Affects Version/s: None
    • Component/s: hotspot
    • None
    • gc
    • b13
    • aarch64
    • generic

      In aarch64's TemplateInterpreterGenerator::generate_Reference_get_entry(void), there used to be enter()/leave() calls around the g1 pre-barrier. This is necessary in case the barrier calls into the runtime, to setup/remove stack frames for the call. With the interpreter BarrierSetAssembler work, this seems to have been dropped. It does lead to stack corruption, sometimes endless loops, etc.

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

              Created:
              Updated:
              Resolved: