[lworld] C2: TypeAryPtr::is_null_free() does not work for any null-free array

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • repo-valhalla
    • Affects Version/s: repo-valhalla
    • Component/s: hotspot

      Currently, TypeAryPtr::is_null_free() only returns null if the element type is an inline type, checked with is_inlinetypeptr(). However, we could also have a super type that merges two null free arrays - either object or an abstract value type for which is_inlinetypeptr() returns false because it does not have a backing ciInlineKlass.

      We should update TypeAryPtr::is_null_free() to consider any null-free array, including autobox caches.

            Assignee:
            Christian Hagedorn
            Reporter:
            Christian Hagedorn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: