Skip to content

Commit

Permalink
[GR-45673] Backport: Drop max heap flag from native-image.properties.
Browse files Browse the repository at this point in the history
PullRequest: js/2808
  • Loading branch information
fniephaus committed May 12, 2023
2 parents c74c02e + 861d94a commit da30923
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions graal-js/mx.graal-js/native-image.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@

Requires = language:regex

JavaArgs = -Xmx3G \
-Dpolyglot.image-build-time.PreinitializeContexts=js
JavaArgs = -Dpolyglot.image-build-time.PreinitializeContexts=js

Args = -H:MaxRuntimeCompileMethods=10000 \
--initialize-at-build-time=com.oracle.truffle.js,com.oracle.js.parser,com.oracle.truffle.regex \
Expand Down
3 changes: 1 addition & 2 deletions graal-nodejs/mx.graal-nodejs/native-image.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ ImageName = nodejs

Requires = language:js

JavaArgs = -Xmx3G \
-Dpolyglot.engine.PreinitializeContexts=js \
JavaArgs = -Dpolyglot.engine.PreinitializeContexts=js \
-Dpolyglot.js.direct-byte-buffer=true \
-Dpolyglot.js.v8-compat=true \
-Dpolyglot.js.intl-402=true \
Expand Down

0 comments on commit da30923

Please sign in to comment.