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

ZGC: Simplify barrier relocation bookkeeping handling

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • hotspot
    • gc
    • x86_64

      As per following suggestion from Dean Long on PR https://github.com/openjdk/jdk/pull/24664

      "This looks OK, but we could do better. Instead of making the relocation point to the end of the instruction and then looking up the offset with patch_barrier_relocation_offset(), why not make the offset always 0 and have the relocation point to the data offset inside the instruction"

      We can fold the offset into relocation and simplify the existing scheme.

            jbhateja Jatin Bhateja
            jbhateja Jatin Bhateja
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: