File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 5353import java .util .function .BooleanSupplier ;
5454import java .util .function .Function ;
5555
56- import com .oracle .svm .core .imagelayer .LayeredImageOptions ;
57- import com .oracle .svm .hosted .reflect .ReflectionFeature ;
5856import org .graalvm .collections .EconomicSet ;
5957import org .graalvm .collections .Pair ;
6058import org .graalvm .nativeimage .ImageInfo ;
160158import com .oracle .svm .core .hub .DynamicHub ;
161159import com .oracle .svm .core .image .ImageHeapLayouter ;
162160import com .oracle .svm .core .imagelayer .ImageLayerBuildingSupport ;
161+ import com .oracle .svm .core .imagelayer .LayeredImageOptions ;
163162import com .oracle .svm .core .jdk .ServiceCatalogSupport ;
164163import com .oracle .svm .core .layeredimagesingleton .LayeredImageSingletonSupport ;
165164import com .oracle .svm .core .meta .MethodOffset ;
Original file line number Diff line number Diff line change 3838import com .oracle .graal .pointsto .BigBang ;
3939import com .oracle .graal .pointsto .meta .AnalysisMethod ;
4040import com .oracle .graal .pointsto .results .StrengthenGraphs ;
41+ import com .oracle .svm .core .SubstrateUtil ;
4142import com .oracle .svm .core .option .HostedOptionKey ;
4243import com .oracle .svm .core .traits .BuiltinTraits .BuildtimeAccessOnly ;
4344import com .oracle .svm .core .traits .BuiltinTraits .NoLayeredCallbacks ;
@@ -84,8 +85,8 @@ public static class Options {
8485 @ Option (help = "Enable Transitive Effect Summary Analysis (TESA)." )//
8586 public static final HostedOptionKey <Boolean > TransitiveEffectSummaryAnalysis = new HostedOptionKey <>(true );
8687
87- @ Option (help = "Print TESA results to the console." )//
88- public static final HostedOptionKey <Boolean > TesaPrintToConsole = new HostedOptionKey <>(true );
88+ @ Option (help = "Print TESA results to the console. Enabled automatically with assertions. " )//
89+ public static final HostedOptionKey <Boolean > TesaPrintToConsole = new HostedOptionKey <>(SubstrateUtil . assertionsEnabled () );
8990
9091 @ Option (help = "Throw an exception if any TESA instance fails to reach a fixed point within the expected number of iterations." )//
9192 public static final HostedOptionKey <Boolean > TesaThrowOnNonTermination = new HostedOptionKey <>(true );
You can’t perform that action at this time.
0 commit comments