From f7f9640ffe7b8f2a3ec77127486b6b7915645334 Mon Sep 17 00:00:00 2001 From: Tom Shull Date: Wed, 9 Aug 2023 19:17:16 +0200 Subject: [PATCH] Enable ParseOnceJIT. --- .../src/com/oracle/svm/core/SubstrateOptions.java | 2 +- vm/mx.vm/mx_vm_gate.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/SubstrateOptions.java b/substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/SubstrateOptions.java index c9be3a02f7f5..3d0702fd977e 100644 --- a/substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/SubstrateOptions.java +++ b/substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/SubstrateOptions.java @@ -77,7 +77,7 @@ public class SubstrateOptions { public static final HostedOptionKey ParseOnce = new HostedOptionKey<>(true); @Option(help = "When true, each compiler graph version (DeoptTarget, AOT, JIT) needed for runtime compilation will be separately analyzed during static analysis." + "When false, only one version of the compiler graph (AOT) will be used in static analysis, and then three new versions will be parsed for compilation.")// - public static final HostedOptionKey ParseOnceJIT = new HostedOptionKey<>(false); + public static final HostedOptionKey ParseOnceJIT = new HostedOptionKey<>(true); @Option(help = "Preserve the local variable information for every Java source line to allow line-by-line stepping in the debugger. Allow the lookup of Java-level method information, e.g., in stack traces.")// public static final HostedOptionKey SourceLevelDebug = new HostedOptionKey<>(false); @Option(help = "Constrain debug info generation to the comma-separated list of package prefixes given to this option.")// diff --git a/vm/mx.vm/mx_vm_gate.py b/vm/mx.vm/mx_vm_gate.py index 39b8b874485a..903bb9289dea 100644 --- a/vm/mx.vm/mx_vm_gate.py +++ b/vm/mx.vm/mx_vm_gate.py @@ -634,6 +634,7 @@ def _collect_excludes(suite, suite_import, excludes): '-H:+EnforceMaxRuntimeCompileMethods', '-H:-InlineBeforeAnalysis', '-H:-ParseOnceJIT', #GR-47163 + '-H:-VerifyDeoptimizationEntryPoints', #GR-47163 '-cp', cp, '-H:-FoldSecurityManagerGetter',