[lworld] Integrated: 8264895: [lworld] assert(!InstanceKlass::cast(receiver_klass)->is_not_initialized()) failed: receiver_klass must be initialized
Tobias Hartmann
thartmann at openjdk.java.net
Mon Apr 12 13:12:03 UTC 2021
On Mon, 12 Apr 2021 11:58:50 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:
> We hit an assert during call resolution of C1 compiled code because the receiver klass is not linked/initialized. This can happen because C1 compiled code does not initialize the inline class at defaultvalue and call resolution does not expect uninitialized klasses (for non-inline classes, the receiver is either null or initialized).
>
> The fix is to deoptimize at defaultvalue for now and add support for runtime patching later with [JDK-8265067](https://bugs.openjdk.java.net/browse/JDK-8265067).
>
> Thanks,
> Tobias
This pull request has now been integrated.
Changeset: 4f889591
Author: Tobias Hartmann <thartmann at openjdk.org>
URL: https://git.openjdk.java.net/valhalla/commit/4f889591
Stats: 51 lines in 2 files changed: 49 ins; 0 del; 2 mod
8264895: [lworld] assert(!InstanceKlass::cast(receiver_klass)->is_not_initialized()) failed: receiver_klass must be initialized
Reviewed-by: fparain
-------------
PR: https://git.openjdk.java.net/valhalla/pull/382
More information about the valhalla-dev
mailing list