On Thu, 19 Mar 2026 13:39:54 GMT, Coleen Phillimore <[email protected]> wrote:

>> Why is throwing an exception while single-stepping an issue for 
>> monitorenter/monitorexit?  They are already marked as can trap.
>
> This switch statement has a return for them and I don't think it should.  I 
> think they should fall through.

Got it.  Also, I noticed that this code pattern is duplicated in 
ciTypeFlow::can_trap and GenerateOopMap.java.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/30171#discussion_r2963100232

Reply via email to