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

GenShen: cmpxchg_oop() needs store_check()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • hotspot
    • gc

      A code review of barrier implementations for x86, ppc, aarch64, riscv reveals that none of the implementations of cmpxchg_oop() marks the overwritten remembered set card as dirty. We need to add code to dirty the remembered set card when in generational mode.

      The code generated by cmpxchg_oop() needs to also include code generated by store_check(), which updates the remembered set only if mode is generational.

            Unassigned Unassigned
            kdnilsen Kelvin Nilsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: