RFR: 8267532: C2: Profile and prune untaken exception handlers [v5]
Vladimir Ivanov
vlivanov at openjdk.org
Wed Nov 15 18:05:39 UTC 2023
On Wed, 15 Nov 2023 04:06:22 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:
> The issue occurs for OSR compilations where the monitorenter is before the loop (outside of the compiled code) ...
Thanks for the clarifications.
Spotted another inconsistency: C1 doesn't set `has_monitor` on `monitorexit` while C2 does. So, seems like C1 is also affected (even without branch pruning).
Please, file a separate bug for it. The code in question is used in verification code and available only in debug VM. If the failures block this patch, you can comment out relevant asserts. They'll be re-enabled as part of the proper fix.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16416#issuecomment-1813010083
More information about the hotspot-dev
mailing list