[lworld] Integrated: 8260283: [lworld] C1's EliminateFieldAccess optimization fails with "wrong types"

Tobias Hartmann thartmann at openjdk.java.net
Mon Jan 25 07:35:05 UTC 2021


On Fri, 22 Jan 2021 11:55:46 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> C1's delayed field access optimization ([JDK-8229897](https://bugs.openjdk.java.net/browse/JDK-8229897)) does not update the field when updating a `LoadField`. The `EliminateFieldAccess` optimization then uses the wrong field (offset) to look up the loaded value in the `MemoryBuffer`. We hit an assert because the field types do not match.
> 
> Thanks,
> Tobias

This pull request has now been integrated.

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

8260283: [lworld] C1's EliminateFieldAccess optimization fails with "wrong types"

Reviewed-by: fparain

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

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


More information about the valhalla-dev mailing list