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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • repo-valhalla
    • repo-valhalla
    • hotspot

      Currently, TypeAry::is_null_free() only return 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 TypeAry::is_null_free() to consider any null-free array, including autobox caches.

            chagedorn Christian Hagedorn
            chagedorn Christian Hagedorn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: