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 $*