[10] RFR(S) 8181858: [JVMCI] JVMCI should update the trap counters when invalidating for Reason_not_compiled_exception_handler

Tom Rodriguez tom.rodriguez at oracle.com
Fri Aug 18 18:40:01 UTC 2017


JVMCI permits trapping when exception handlers haven't been compiled 
into the generated code.  When this is a normal uncommon trap the 
counter in the MDO is updated but when the invalidation is forced during 
exception dispatch the counter isn't updated.  This leads to 
invalidate/recompile cycles that will never terminate because the 
compiler doesn't know why the previous invalidation happened.  Tested 
with a Graal unit test 


More information about the hotspot-compiler-dev mailing list