Integrated: 8264320: ShouldNotReachHere in Compile::print_inlining_move_to()
Vladimir Ivanov
vlivanov at openjdk.java.net
Fri Apr 23 12:57:27 UTC 2021
On Thu, 22 Apr 2021 16:56:57 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:
> Cloned `CallNode` gets a fresh `CallGenerator` which has to be put on `_print_inlining_list` when -XX:+PrintInlining is used.
>
> Otherwise, if the `CallGenerator` ends up on `_late_inlines` list (which is processed by `Compile::process_late_inline_calls_no_inline()`, `Compile::print_inlining_move_to()` can't locate it in `_print_inlining_list` and triggers the crash.
>
> The fix is to put cloned `CallGenerator` next to original one in `_print_inlining_list`.
>
> Testing:
> - [x] failing test
> - [x] hs-tier1 - hs-tier4
This pull request has now been integrated.
Changeset: bfc1cd8e
Author: Vladimir Ivanov <vlivanov at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/bfc1cd8e
Stats: 4 lines in 1 file changed: 4 ins; 0 del; 0 mod
8264320: ShouldNotReachHere in Compile::print_inlining_move_to()
Reviewed-by: kvn, thartmann
-------------
PR: https://git.openjdk.java.net/jdk/pull/3635
More information about the hotspot-compiler-dev
mailing list