RFR: 8267532: C2: Profile and prune untaken exception handlers [v5]
Vladimir Ivanov
vlivanov at openjdk.org
Wed Nov 15 22:28:36 UTC 2023
On Wed, 15 Nov 2023 21:08:23 GMT, Dean Long <dlong at openjdk.org> wrote:
> Is it possible for C1 to see a monitorexit but not the earlier monitorenter?
Hm, good question, Dean. I was under impression that there are no guarantees C1 visits all reachable bytecodes of a method during parsing, so `monitorenter` can be missed. But after reexamining `GraphBuilder` implementation I don't think it is possible.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16416#issuecomment-1813359774
More information about the hotspot-dev
mailing list