> On May 16, 2022, at 11:31 PM, Romain Manni-Bucau <[email protected]> 
> wrote:
> 
> Hi David, can you share it? Do you have stacktrace of > 200 elements with
> 4-5 exceptions linked?
> Did you test on all jvm (oracle, zulu, java 8-17)?

No, I wasn't that curious.  Here's the code if you want to play:

 - https://github.com/dblevins/exception-testing

The code is ugly and I'm sure flawed.  The jvm I used was temurin-16.jdk

One thought I had is that the 100-deep or 200-deep stack trace situations are 
most likely to occur when the walking over a large document.  In that situation 
the size of the stack trace is still going to be a rounding error compared to 
the size of the document in memory.


-David

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to