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

GC abstraction for Assembler::needs_explicit_null_check()

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • None
    • hotspot
    • None
    • gc
    • generic
    • generic

      GCs (like Shenandoah) might emit loads that don't fit the pattern in Assembler::needs_explicit_null_check(). For example, Shenandoah emits loads for offset=-8 to load an object's forwarding pointer. The existing code would emit explicit null-checks for such loads, however we don't want that because we know that the base is not NULL (everything else would be an error). We need an abstraction for that.

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

              Created:
              Updated:
              Resolved: