Re:JEP draft: Exception handling in switch
by mike_hearn on Saturday April 20, 2024 @07:51AM
(#40096642)
Re:JEP draft: Exception handling in switch
by vips7L on Saturday April 20, 2024 @11:54AM
(#40098282)
Thanks! Looks like the linked source file doesn’t exist on master. I’ll have to see if I can track it down when I have some more time.
Re:JEP draft: Exception handling in switch
by mike_hearn on Sunday April 21, 2024 @05:27AM
(#40104307)
The list is here:
https://github.com/openjdk/jdk/blob/6d5699617ff0985104a8bb5f...
> HotSpot will do things like recompile methods on the fly to disable stack trace generation, if profiling shows that your code is throwing and catching exceptions way more often than expected
I was under the impression that to get good performance here you had to override getStackTrace.