Skip to content

Commit

Permalink
Fix launch scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Ealrann committed Jul 14, 2020
1 parent a00a961 commit 0c0e9df
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 7 deletions.
2 changes: 1 addition & 1 deletion org.sheepy.vsand/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ task jlink(type: Exec, dependsOn: ['installDist']) {
'--no-man-pages',
'--exclude-files', '**java_*.properties',
'--compress', '2',
'--add-modules', "java.base,java.xml,jdk.unsupported,openj9.sharedclasses",
'--add-modules', "java.base,java.xml,jdk.unsupported",
'--output', 'image'
}

Expand Down
4 changes: 3 additions & 1 deletion org.sheepy.vsand/releng/linux/VSand
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/sh
DIR=${0%/*}/bin
(cd $DIR && ./java -Xms32M -Xmx64M -p ../modules -Xscmx32M -Xshareclasses:cacheDir=sharedClasses,name=VSand,nonfatal -m org.sheepy.vsand/org.sheepy.vsand.VSandApplicationLauncher $@)
ARGS="-Xms32M -Xmx64M --enable-preview"
#ARGS="-Xms32M -Xmx64M -Xscmx32M -Xshareclasses:cacheDir=sharedClasses,name=VSand,nonfatal" #OpenJ9
(cd $DIR && ./java $ARGS -p ../modules -m org.sheepy.vsand/org.sheepy.vsand.VSandApplicationLauncher $@)
3 changes: 2 additions & 1 deletion org.sheepy.vsand/releng/linux/benchmark/VSand_Benchmark.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/sh
DIR=${0%/*}/../bin
(cd $DIR && ./java -Xms64M -Xmx128M -p ../modules -m org.sheepy.vsand/org.sheepy.vsand.VSandBenchmarkLauncher $@)
ARGS="-Xms64M -Xmx128M --enable-preview"
(cd $DIR && ./java $ARGS -p ../modules -m org.sheepy.vsand/org.sheepy.vsand.VSandBenchmarkLauncher $@)
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/sh
DIR=${0%/*}/../bin
(cd $DIR && ./java -Xms64M -Xmx128M -p ../modules -m org.sheepy.vsand/org.sheepy.vsand.VSandHeadlessBenchmarkLauncher $@)
ARGS="-Xms64M -Xmx128M --enable-preview"
(cd $DIR && ./java $ARGS -p ../modules -m org.sheepy.vsand/org.sheepy.vsand.VSandHeadlessBenchmarkLauncher $@)
3 changes: 2 additions & 1 deletion org.sheepy.vsand/releng/windows/VSand.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@echo off
set DIR="%~dp0\bin"
set JAVA_EXEC="%DIR:"=%\java"
pushd %DIR% & %JAVA_EXEC% -Xms32M -Xmx64M -p ..\modules -Xscmx32M -Xshareclasses:cacheDir=sharedClasses,name=VSand,nonfatal -m org.sheepy.vsand/org.sheepy.vsand.VSandApplicationLauncher %* & popd
set ARGS="-Xms32M -Xmx64M --enable-preview"
pushd %DIR% & %JAVA_EXEC% %ARGS% -p ..\modules -m org.sheepy.vsand/org.sheepy.vsand.VSandApplicationLauncher %* & popd
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@echo off
set DIR="%~dp0\..\bin"
set JAVA_EXEC="%DIR:"=%\java"
pushd %DIR% & %JAVA_EXEC% -Xms64M -Xmx128M -p ..\modules -m org.sheepy.vsand/org.sheepy.vsand.VSandBenchmarkLauncher %* & popd
set ARGS="-Xms64M -Xmx128M --enable-preview"
pushd %DIR% & %JAVA_EXEC% %ARGS% -p ..\modules -m org.sheepy.vsand/org.sheepy.vsand.VSandBenchmarkLauncher %* & popd
pause
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@echo off
set DIR="%~dp0\..\bin"
set JAVA_EXEC="%DIR:"=%\java"
pushd %DIR% & %JAVA_EXEC% -Xms64M -Xmx128M -p ..\modules -m org.sheepy.vsand/org.sheepy.vsand.VSandHeadlessBenchmarkLauncher %* & popd
set ARGS="-Xms64M -Xmx128M --enable-preview"
pushd %DIR% & %JAVA_EXEC% %ARGS% -p ..\modules -m org.sheepy.vsand/org.sheepy.vsand.VSandHeadlessBenchmarkLauncher %* & popd
pause

0 comments on commit 0c0e9df

Please sign in to comment.