[lworld] RFR: 8275195: [lworld] Revisit use of TypePtr::meet_aryptr() after merge [v2]
Tobias Hartmann
thartmann at openjdk.java.net
Mon Oct 18 11:00:18 UTC 2021
On Mon, 18 Oct 2021 09:15:46 GMT, Roland Westrelin <roland at openjdk.org> wrote:
>> I tried to move the logic that I added to TypeAryKlassPtr into
>> meet_aryptr() where it's shared between TypeAryPtr and
>> TypeAryKlassPtr. When running tests, I ran into a failure that I fixed
>> by making the element klass of an array of nullable inline types
>> to be non constant similar to this logic:
>>
>> // Even if MyValue is exact, [LMyValue is not exact due to [QMyValue <: [LMyValue.
>> bool xk = etype->klass_is_exact() && (!etype->is_inlinetypeptr() || null_free);
>>
>> in TypeOopPtr::make_from_klass_common().
>>
>> Actually, shouldn't the element type be non exact in the TypeAryPtr
>> case too?
>
> Roland Westrelin has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
>
> - review
> - Merge branch 'lworld' into HEAD
> - fix
That looks good to me.
-------------
Marked as reviewed by thartmann (Committer).
PR: https://git.openjdk.java.net/valhalla/pull/560
More information about the valhalla-dev
mailing list