From d1d3a6723b8aed3628d87cee36f21f96db82a5c3 Mon Sep 17 00:00:00 2001 From: Bela Ban Date: Mon, 23 Dec 2024 12:52:04 +0100 Subject: [PATCH] ns --- bin/jgroups.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/jgroups.sh b/bin/jgroups.sh index cb9d5d79c6..08eb0c0a35 100755 --- a/bin/jgroups.sh +++ b/bin/jgroups.sh @@ -55,5 +55,8 @@ FLAGS="-server -Xmx1G -Xms500m -XX:+HeapDumpOnOutOfMemoryError -Djava.net.prefer # Dump with jcmd Thread.dump_to_file # DUMP_VTHREADS=-Djdk.trackAllThreads=true -java $GC $DUMP_VTHREADS $Z1 -cp $CP $SSL_FLAGS $DEBUG $LOG $JG_FLAGS $FLAGS $JMX $JMC $* +# Dump when virtual threads are pinned on a carrier thread +# FLAGS="$FLAGS Djdk.tracePinnedThreads=full" + +java $GC $DUMP_VTHREADS $Z1 -cp $CP $SSL_FLAGS $DEBUG $LOG $JG_FLAGS $FLAGS $JMX $JMC $*