summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@vespa.ai>2024-03-20 16:00:10 +0100
committerBjørn Christian Seime <bjorncs@vespa.ai>2024-03-20 16:00:10 +0100
commit32cad9c1765c7324de94c67cab134dbf8436b8c1 (patch)
tree17451633714c2d154d844cae0bbbe7a0759c0ee4 /client
parentf30d81b16dd11fd68e1be04ab1685df26193735e (diff)
Try disabling stack trace optimization
Diffstat (limited to 'client')
-rw-r--r--client/go/internal/admin/jvm/xx_options.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/go/internal/admin/jvm/xx_options.go b/client/go/internal/admin/jvm/xx_options.go
index 857ec2e8b69..13b69e43dda 100644
--- a/client/go/internal/admin/jvm/xx_options.go
+++ b/client/go/internal/admin/jvm/xx_options.go
@@ -18,4 +18,6 @@ func (opts *Options) AddCommonXX() {
opts.AddOption("-XX:+ExitOnOutOfMemoryError")
// not common after all:
opts.AddOption("-XX:MaxJavaStackTraceDepth=1000000")
+ // Aid debugging for slight cost in performance
+ opts.AddOption("-XX:+OmitStackTraceInFastThrow")
}