From 56a467d7c2420ac06652c47830f525504963a2cc Mon Sep 17 00:00:00 2001 From: dfsek Date: Wed, 23 Sep 2020 16:39:49 -0700 Subject: [PATCH] Implement profiling stuff in test.sh. --- test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 4312c9a86..df721e315 100755 --- a/test.sh +++ b/test.sh @@ -31,7 +31,7 @@ fi if [ -z "$(grep true eula.txt 2>/dev/null)" ]; then echo echo "$(color 32) It appears you have not agreed to Mojangs EULA yet! Press $(color 1 33)y$(colorend) $(color 32)to confirm agreement to" - read -p " Mojangs EULA found at:$(color 1 32) https://account.mojang.com/documents/minecraft_eula $(colorend) " -n 1 -r + read -p " Mojangs EULA, found at:$(color 1 32) https://account.mojang.com/documents/minecraft_eula $(colorend) " -n 1 -r echo "" if [[ ! $REPLY =~ ^[Yy]$ ]]; then echo "$(color 1 31)Aborted$(colorend)" @@ -46,4 +46,5 @@ java -Xms5G -Xmx5G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 \ -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 \ -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true \ +-agentpath:/home/dfsek/YourKit-JavaProfiler-2020.9/bin/linux-x86-64/libyjpagent.so=delay=10000 \ -jar paperclip.jar nogui \ No newline at end of file