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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • None
    • 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.

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

              Created:
              Updated:
              Resolved: