Skip to content

Commit

Permalink
Re-enable single parsing of compiler graphs in native-image for 21.2
Browse files Browse the repository at this point in the history
GraalVM 21.2-dev at some point introduced a new enhancement (enabled by
default) to avoid parsing compiler graphs twice. This enhancement
however results in increased memory usage at the
moment (oracle/graal#3435) which then results
in Quarkus' Integration Test failures in CI.  In GraalVM 21.2 this
appears to no longer be an issue.
  • Loading branch information
zakkak committed Sep 23, 2021
1 parent d3ed65b commit 054236b
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -713,10 +713,6 @@ public NativeImageInvokerInfo build() {
}

if (graalVMVersion.isNewerThan(GraalVM.Version.VERSION_21_1)) {

// Disable single parsing of compiler graphs till https://github.com/oracle/graal/issues/3435 gets fixed
nativeImageArgs.add("-H:-ParseOnce");

// AdditionalSecurityProviders
if (nativeImageSecurityProviders != null && !nativeImageSecurityProviders.isEmpty()) {
String additionalSecurityProviders = nativeImageSecurityProviders.stream()
Expand Down

0 comments on commit 054236b

Please sign in to comment.