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

AArch64: immByteMapBase operand generated for non-CardTable GCs

XMLWordPrintable

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

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

              Created:
              Updated:
              Resolved: