[lworld] Integrated: 8258480: [lworld] Adapter creation asserts with -XX:+VerifyAdapterSharing

Tobias Hartmann thartmann at openjdk.java.net
Wed Dec 16 13:31:15 UTC 2020


On Wed, 16 Dec 2020 12:19:19 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> `VerifyAdapterSharing` fails because the code of two adapters with the same fingerprint is not equal. The problem is that we are accidentally creating an "only unpack receiver" c2i adapter for a static method with an inline type as only argument. As a result, the special handling in sharedRuntime.cpp:2446 does not work.
> 
> I've also refactored related code and fixed a test bug.
> 
> Thanks,
> Tobias

This pull request has now been integrated.

Changeset: bfa3dd4b
Author:    Tobias Hartmann <thartmann at openjdk.org>
URL:       https://git.openjdk.java.net/valhalla/commit/bfa3dd4b
Stats:     43 lines in 3 files changed: 6 ins; 14 del; 23 mod

8258480: [lworld] Adapter creation asserts with -XX:+VerifyAdapterSharing

-------------

PR: https://git.openjdk.java.net/valhalla/pull/304



More information about the valhalla-dev mailing list