Replies: 2 comments 1 reply
-
Hi @nreid260, to answer both your questions, there are two things I would suggest: Unfortunately, at the moment there is no option to disable stack traces. If you have a specific case where the stack overflow increases the size significantly, it would be helpful if you could share with us a reproducer. |
Beta Was this translation helpful? Give feedback.
-
You must be on a version <23. In that case you can either upgrade, or if not possible use |
Beta Was this translation helpful? Give feedback.
-
We're transforming the Kotlin compiler into a native-image. This works, but the resulting ELF is quite large. From decompiling some of the functions, we see that there are a lot of instructions for handling
StackOverflowException
s copied into every function. We also observe that during crashes, we get stack trace listing JVM classnames and line numbers.This begs the question: Can we get native stacktraces instead? Seemingly this would seemingly unblock two significant improvements:
StackOverflowException
s would be obviatedI might be missing something here, but these are tradeoffs I'd gladly make.
Beta Was this translation helpful? Give feedback.
All reactions