File tree Expand file tree Collapse file tree 3 files changed +19
-4
lines changed
src/main/resources/META-INF/native-image/dev/elide/elide-cli
graalvm/src/main/kotlin/elide/runtime/core/internals/graalvm Expand file tree Collapse file tree 3 files changed +19
-4
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ val enableFfm = hostIsLinux && System.getProperty("os.arch") != "aarch64"
139139val enableEmbeddedResources = false
140140val enableResourceFilter = false
141141val enableAuxCache = false
142- val enableAuxCacheTrace = true
142+ val enableAuxCacheTrace = false
143143val enableJpms = false
144144val enableConscrypt = false
145145val enableBouncycastle = false
@@ -1121,7 +1121,6 @@ val commonNativeArgs = listOfNotNull(
11211121 " -H:ExcludeResources=elide/stream/.*\\ .proto" ,
11221122 " -H:ExcludeResources=elide/page/.*\\ .proto" ,
11231123 " -H:ExcludeResources=elide/vfs/.*\\ .proto" ,
1124- " -H:ExcludeResources=org/jline/.*" ,
11251124 " -H:ExcludeResources=logback.xml" ,
11261125 " -H:ExcludeResources=META-INF/native/libsqlite.*" ,
11271126 " -H:ExcludeResources=lib/linux-x86_64/libbrotli.so" ,
Original file line number Diff line number Diff line change 29182918 ],
29192919 "resources" : [
29202920 {
2921- "glob" : " sun/util/logging/resources/logging_en.properties"
2921+ "glob" : " org/jline/utils/*.caps"
2922+ },
2923+ {
2924+ "glob" : " sun/util/logging/resources/logging_en.properties" ,
2925+ "module" : " java.logging"
2926+ },
2927+ {
2928+ "glob" : " sun/util/logging/resources/logging_en_US.properties" ,
2929+ "module" : " java.logging"
29222930 },
29232931 {
29242932 "glob" : " META-INF/maven/org.jline/jline-native/pom.properties"
30973105 "name" : " com.sun.tools.javac.resources.compiler" ,
30983106 "locales" : [" en" ]
30993107 },
3108+ {
3109+ "name" : " sun.util.logging.resources.logging" ,
3110+ "locales" : [" en" , " en-US" ]
3111+ },
31003112 {
31013113 "name" : " sun.tools.jar.resources.jar" ,
31023114 "locales" : [" en" ]
Original file line number Diff line number Diff line change @@ -244,12 +244,16 @@ import org.graalvm.polyglot.HostAccess as PolyglotHostAccess
244244 /* * Whether to emit trace messages for aux cache usage. */
245245 private val traceCache = System .getProperty(" elide.traceCache" , " false" ) == " true"
246246
247+ /* * Whether to use the auxiliary engine cache. */
248+ private val enableAuxCache = System .getProperty(" elide.auxCache" , " false" ) == " true"
249+
247250 /* * Whether the auxiliary cache is actually enabled. */
248251 private val useAuxCache = (
249252 ENABLE_AUX_CACHE &&
253+ enableAuxCache &&
250254 System .getProperty(" elide.test" ) != " true" &&
251255 System .getProperty(" ELIDE_TEST" ) != " true" &&
252- System .getProperty(" elide.vm.engine.preinitialize" ) != " false" && // manual killswitch
256+ System .getProperty(" elide.vm.engine.preinitialize" ) != " false" && // manual kill-switch
253257 ImageInfo .inImageCode() &&
254258 ! ImageInfo .isSharedLibrary() &&
255259 ! Platform .includedIn(Platform .WINDOWS ::class .java) // disabled on windows - not supported
You can’t perform that action at this time.
0 commit comments