RFR: Fix OSR in Shark for non-empty incoming stack

Roman Kennke rkennke at redhat.com
Thu Dec 6 12:30:49 PST 2012

This patch disables on-stack-replacement in Shark when the incoming
stack-depth is > 0. (This caused a segmentation fault when running


I tried to figure out what to do in that case for a while, until I
looked at opto which simply bails out, so I decided to do the same. Is
there anything better that could be done without huge efforts (it seems
to happen very rarely after all)?

Ok to go in?

(I have a bunch of patches coming up for Shark, I was undecided if I
should post them as one big or several smaller patches, and then found
that having several unrelated things interleaved in one patch makes it
really difficult to understand what it does.)


More information about the hotspot-compiler-dev mailing list