logoalt Hacker News

zvqcMMV6Zcrtoday at 3:12 PM2 repliesview on HN

> Exceptions for Control Flow

This one is so prevalent that JVM has an optimization where it gives up on filling stack for exception, if it was thrown over and over in exact same place.


Replies

dust-jackettoday at 4:54 PM

ah, thank you. Haven't worked in java for a bit now, but that was the only one I read where I was like "I'm sure we didn't have to avoid this when I worked on java".

The rest were all very familiar. Well, apart from the new stuff. I think most of my code was running in java 6...

j-vogeltoday at 3:30 PM

[dead]