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

[lworld] Better optimize null-checks in C1

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: hotspot
    • Labels:

      Description

      - GraphBuilder::null_check, Canonicalizer::do_NullCheck and Canonicalizer::do_InstanceOf should check for NewInlineTypeInstance
      - Canonicalizer::do_If should check for NewInlineTypeInstance in the rt == objectNull branch
      - We should make use of the fact that check cast now also checks for null and that inline types are null-free
      - We should evaluate if NullCheckEliminator should be extended to handle inline types

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: