Skip to content

Commit 289adb0

Browse files
committed
[GR-15465] Simplify the list of packages to initialize at build time
* Truffle and Graal classes are always initialized at build time.
1 parent 6b13d0a commit 289adb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mx.truffleruby/native-image.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ LauncherClassPath = languages/ruby/truffleruby-annotations.jar:languages/ruby/tr
1111
Args = -H:MaxRuntimeCompileMethods=5400 \
1212
-H:SubstitutionResources=org/truffleruby/aot/substitutions.json \
1313
-H:+AddAllCharsets \
14-
--initialize-at-build-time=com.oracle.graal,com.oracle.graalvm,com.oracle.svm,com.oracle.truffle,org.graalvm,org.truffleruby,org.jcodings,org.joni,jline,org.fusesource
14+
--initialize-at-build-time=org.truffleruby,org.jcodings,org.joni,jline,org.fusesource
1515

1616
JavaArgs = -Dpolyglot.engine.PreinitializeContexts=ruby \
1717
-Dorg.graalvm.launcher.relative.llvm.home=../lib/cext/sulong-libs

0 commit comments

Comments
 (0)