Skip to content

Document that @ProfileConnection stackDepth -1 displays at most 1000 … - #293

Merged
jeanbisutti merged 1 commit into
quick-perf:masterfrom
jeanbisutti:doc-profile-connection-stack-depth-limit
Oct 20, 2026
Merged

jeanbisutti merged 1 commit into
quick-perf:masterfrom
jeanbisutti:doc-profile-connection-stack-depth-limit

Conversation

@jeanbisutti

Copy link
Copy Markdown
Collaborator

The javadoc of @ProfileConnection.stackDepth said: "With a -1 value, the annotation does not limit the stack depth." -1 is the default value. But ProfilingParamsExtractor.extractStackDepthFrom maps -1 to StackTrace.StackDepth.ALL, which is new StackDepth((short) 1_000). So each stack trace is displayed with at most 1000 elements.

@jeanbisutti
jeanbisutti merged commit 064c744 into quick-perf:master Oct 20, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant