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

GC abstraction for Assembler::needs_explicit_null_check()

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • CPU:
      generic
    • OS:
      generic

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: