Integrated: 8284951: Compile::flatten_alias_type asserts with "indeterminate pointers come only from unsafe ops"
Tobias Hartmann
thartmann at openjdk.java.net
Tue Apr 26 12:08:52 UTC 2022
On Mon, 25 Apr 2022 10:25:25 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:
> The `Object.clone()` intrinsic emits an arraycopy guarded by an array check. With `StressReflectiveCode` the arraycopy is not removed even if the source object is statically known to be a non-array instance. This triggers an assert in `Compile::flatten_alias_type asserts` because the (arraycopy) address type is an instance pointer with bottom offset.
>
> The fix is to disable the assert when `StressReflectiveCode` is enabled.
>
> Thanks,
> Tobias
This pull request has now been integrated.
Changeset: 8de3c655
Author: Tobias Hartmann <thartmann at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/8de3c655457a33e64c4d1fd72603ea8b712e25cc
Stats: 51 lines in 2 files changed: 50 ins; 0 del; 1 mod
8284951: Compile::flatten_alias_type asserts with "indeterminate pointers come only from unsafe ops"
Reviewed-by: kvn, roland
-------------
PR: https://git.openjdk.java.net/jdk/pull/8381
More information about the hotspot-compiler-dev
mailing list