Question about C1 exception handling code

Roland Westrelin rwestrel at
Tue Feb 27 15:33:12 UTC 2018

Hi Andrew,

> I'll happily acknowledge that I only have a vague overview of how the C1
> code works. Am I missing some clever trick here which requires the inner
> loop to reset the counter for the outer loop to handlers->length() by
> the time it completes? Or is this really just an obvious mistake?

Are you saying there's an actual bug or is it mostly a coding style
issue? Doesn't the second int i declaration hide the first one so the
code is confusing but correct?


More information about the hotspot-compiler-dev mailing list