AArch64: immByteMapBase operand generated for non-CardTable GCs

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 11
    • Affects Version/s: 10
    • Component/s: hotspot
    • b01
    • aarch64
    • generic

      The operand immByteMapBase in aarch64 blindly casts the BarrierSet to CardTableModRefBS and checks if the byte_map_base field points into the heap. This sometimes generates the operand for non-CTMRBS GCs too: ->byte_map_base will resolve some random ptr, and if that happens to be inside the heap, it will generate the operand, causing all sorts of weird trouble.
      This is low priority because all current GCs are CardTableModRefBS-derived.

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

              Created:
              Updated:
              Resolved: