aboutsummaryrefslogtreecommitdiffstats
path: root/make/scripts
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-05-17 16:50:26 +0200
committerSven Gothel <[email protected]>2023-05-17 16:50:26 +0200
commitb2b90538c2727709da4ed4efde84268700e2b7f8 (patch)
tree4e85513ec8ecf9de4693ae8a8975524cbe4bc8f9 /make/scripts
parentfa18fe0eac1e454f7543fb5934aa9dc630df6573 (diff)
make/scripts/tests.sh: Adjust D_ARGS and add X_ARGS for optional FlightRecorder
Diffstat (limited to 'make/scripts')
-rwxr-xr-xmake/scripts/tests.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/make/scripts/tests.sh b/make/scripts/tests.sh
index ba54164..eba9d30 100755
--- a/make/scripts/tests.sh
+++ b/make/scripts/tests.sh
@@ -61,13 +61,21 @@ function jrun() {
#D_ARGS="-Djogamp.debug=all"
#D_ARGS="-Djogamp.debug.Bitstream"
#D_ARGS="-Djogamp.debug.NativeLibrary=true -Djoal.debug=true"
- #D_ARGS="-Djoal.debug.AudioSink"
- #D_ARGS="-Djoal.debug.AudioSink -Djogl.debug.AudioSink.trace"
+ #D_ARGS="-Djogamp.debug.AudioSink"
+ #D_ARGS="-Djogamp.debug.AudioSink -Djoal.debug.AudioSink.trace"
+ #D_ARGS="-Djoal.debug.AudioSink.trace"
#D_ARGS="-Djoal.debug=all"
#D_ARGS="-Djogamp.debug.JNILibLoader"
#X_ARGS="-verbose:jni"
#X_ARGS="-Xrs"
+ # StartFlightRecording: delay=10s,
+ # FlightRecorderOptions: stackdepth=2048
+ # Enable remote connection to jmc: jcmd <PID> ManagementAgent.start jmxremote.authenticate=false jmxremote.ssl=false jmxremote.port=7091
+ # X_ARGS="-XX:+UnlockDiagnosticVMOptions -XX:+DebugNonSafepoints $X_ARGS"
+ # X_ARGS="-XX:FlightRecorderOptions=stackdepth=2048,threadbuffersize=16k $X_ARGS"
+ # X_ARGS="-XX:StartFlightRecording=delay=10s,dumponexit=true,filename=java-run.jfr $X_ARGS"
+
export CLASSPATH=$GLUEGEN_BDIR/gluegen-rt.jar:$bdir/jar/joal.jar:$bdir/jar/joal-test.jar:$JUNIT_JAR:$ANT_JARS
#export CLASSPATH=$GLUEGEN_BDIR/gluegen-rt.jar:$bdir/jar/joal.jar:$bdir/jar/joal-natives.jar:$bdir/jar/joal-test.jar:$JUNIT_JAR:$ANT_JARS
echo CLASSPATH $CLASSPATH