Skip to content

Commit

Permalink
Drop Xmx flag from native-image.properties.
Browse files Browse the repository at this point in the history
  • Loading branch information
fniephaus committed May 2, 2023
1 parent e9379ad commit abb6386
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 13 deletions.
2 changes: 0 additions & 2 deletions sulong/mx.sulong/native-image.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

Requires = language:nfi

JavaArgs = -Xmx3G

Args = -H:MaxRuntimeCompileMethods=10000 \
-H:+AddAllCharsets \
--initialize-at-build-time=com.oracle.truffle.llvm,org.antlr.v4.runtime
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ JavaArgs = \
-Dfastr.internal.usenativeeventloop=false \
-Dfastr.internal.defaultdownloadmethod=wget \
-Dfastr.internal.ignorejvmargs=true \
-Dfastr.use.remote.grid.awt.device=true \
-Xmx6G
-Dfastr.use.remote.grid.awt.device=true

LauncherClass = com.oracle.truffle.r.launcher.RMain
LauncherClassPath = lib/graalvm/launcher-common.jar:languages/R/fastr-launcher.jar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Requires = tool:regex language:llvm
LauncherClass = com.oracle.graal.python.shell.GraalPythonMain
LauncherClassPath = lib/graalvm/launcher-common.jar:lib/graalvm/graalpython-launcher.jar

JavaArgs = -Xmx4G -Dpolyglot.image-build-time.PreinitializeContexts=python
JavaArgs = -Dpolyglot.image-build-time.PreinitializeContexts=python

Args = -H:MaxRuntimeCompileMethods=7000 \
-H:SubstitutionResources=com/oracle/graal/python/aot/substitutions.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Requires = tool:regex language:llvm
LauncherClass = com.oracle.graal.python.shell.GraalPythonMain
LauncherClassPath = lib/graalvm/launcher-common.jar:lib/graalvm/graalpython-launcher.jar

JavaArgs = -Xmx4G -Dpolyglot.image-build-time.PreinitializeContexts=python
JavaArgs = -Dpolyglot.image-build-time.PreinitializeContexts=python

Args = -H:MaxRuntimeCompileMethods=7000 \
-H:SubstitutionResources=com/oracle/graal/python/aot/substitutions.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Requires = tool:regex language:llvm
LauncherClass = com.oracle.graal.python.shell.GraalPythonMain
LauncherClassPath = lib/graalvm/launcher-common.jar:lib/graalvm/graalpython-launcher.jar

JavaArgs = -Xmx4G -Dpolyglot.image-build-time.PreinitializeContexts=python
JavaArgs = -Dpolyglot.image-build-time.PreinitializeContexts=python

Args = -H:MaxRuntimeCompileMethods=7000 \
-H:SubstitutionResources=com/oracle/graal/python/aot/substitutions.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ JavaArgs = \
-Dfastr.internal.usenativeeventloop=false \
-Dfastr.internal.defaultdownloadmethod=wget \
-Dfastr.internal.ignorejvmargs=true \
-Dfastr.use.remote.grid.awt.device=true \
-Xmx6G
-Dfastr.use.remote.grid.awt.device=true

LauncherClass = com.oracle.truffle.r.launcher.RMain
LauncherClassPath = lib/graalvm/launcher-common.jar:languages/R/fastr-launcher.jar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ JavaArgs = \
-Dfastr.internal.usenativeeventloop=false \
-Dfastr.internal.defaultdownloadmethod=wget \
-Dfastr.internal.ignorejvmargs=true \
-Dfastr.use.remote.grid.awt.device=true \
-Xmx6G
-Dfastr.use.remote.grid.awt.device=true

LauncherClass = com.oracle.truffle.r.launcher.RMain
LauncherClassPath = lib/graalvm/launcher-common.jar:languages/R/fastr-launcher.jar
Expand Down
2 changes: 0 additions & 2 deletions wasm/mx.wasm/native-image.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# This file contains native-image arguments needed to build graal-wasm

JavaArgs = -Xmx6G

Args = -H:MaxRuntimeCompileMethods=2000 \
--initialize-at-build-time=org.graalvm.wasm

0 comments on commit abb6386

Please sign in to comment.