Skip to content

Commit 35d1027

Browse files
committed
Describe maxstringlength in -Xtrace:help output
Signed-off-by: Keith W. Campbell <[email protected]>
1 parent 9362c83 commit 35d1027

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

runtime/rastrace/trcengine.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -933,6 +933,11 @@ static void displayTraceHelp(J9JavaVM *vm)
933933
j9tty_err_printf(PORTLIB, " resumecount=nn Trigger count for \"trace resume\"\n");
934934
j9tty_err_printf(PORTLIB, " output=filespec[,nnm[,generations]] Sends maximal and minimal trace to a file\n");
935935
j9tty_err_printf(PORTLIB, " exception.output=filespec[,nnnm] Sends exception trace to a file\n");
936+
j9tty_err_printf(PORTLIB, " maxstringlength=nn Limit length of string values to capture\n");
937+
j9tty_err_printf(PORTLIB, " "
938+
"Maximum " J9_STR(RAS_MAX_STRING_LENGTH_LIMIT)
939+
", use 0 to disable."
940+
" Default: " J9_STR(RAS_MAX_STRING_LENGTH_DEFAULT) "\n");
936941
j9tty_err_printf(PORTLIB, " stackdepth=nn Set number of frames output by jstacktrace trigger action\n");
937942
j9tty_err_printf(PORTLIB, " sleeptime=nnt Time delay for sleep trigger action\n");
938943
j9tty_err_printf(PORTLIB, " Recognised suffixes: ms (milliseconds), s (seconds). Default: ms\n");

0 commit comments

Comments
 (0)