Skip to content

Commit

Permalink
Enable WP-SCCP globally
Browse files Browse the repository at this point in the history
  • Loading branch information
d-kozak committed Dec 9, 2024
1 parent 2e0e746 commit 92239f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions substratevm/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

This changelog summarizes major changes to GraalVM Native Image.

## GraalVM for JDK 25
* (GR-58668) Enabled [Whole-Program Sparse Conditional Constant Propagation (WP-SCCP)](https://github.com/oracle/graal/pull/9821) by default, improving the precision of points-to analysis in Native Image. This optimization enhances static analysis accuracy and scalability, potentially reducing the size of the final native binary.

## GraalVM for JDK 24 (Internal Version 24.2.0)
* (GR-59717) Added `DuringSetupAccess.registerObjectReachabilityHandler` to allow registering a callback that is executed when an object of a specified type is marked as reachable during heap scanning.
* (GR-55708) (Alibaba contribution) Support for running premain methods of Java agents at runtime as an experimental feature. At build time, `-H:PremainClasses` is used to set the premain classes.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@
public class PointstoOptions {

@Option(help = "Track primitive values using the infrastructure of points-to analysis.")//
public static final OptionKey<Boolean> TrackPrimitiveValues = new OptionKey<>(false);
public static final OptionKey<Boolean> TrackPrimitiveValues = new OptionKey<>(true);

@Option(help = "Use predicates in points-to analysis.")//
public static final OptionKey<Boolean> UsePredicates = new OptionKey<>(false);
public static final OptionKey<Boolean> UsePredicates = new OptionKey<>(true);

@Option(help = "Use experimental Reachability Analysis instead of points-to.")//
public static final OptionKey<Boolean> UseExperimentalReachabilityAnalysis = new OptionKey<>(false);
Expand Down

0 comments on commit 92239f1

Please sign in to comment.