compiled leaf method vs. inlined method bounds check
Deneau, Tom
tom.deneau at amd.com
Tue Nov 12 14:49:38 PST 2013
I've noticed that if the graph I am compiling is simply a leaf method which accesses an array, the target of a failing bounds check is a DeoptimizeNode with reason=BoundsCheckException, action=InvalidateReprofile
But if the method that is accessing the array is being inlined into another method, the target of the failing bounds check is a ForeignCall to createOutOfBoundsException followed by a branch to a DeoptimizeNode with reason=NotCompiledExceptionHandler, action=InvalidateRecompile.
Can someone explain this difference?
-- Tom
More information about the graal-dev
mailing list