Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GR-58668] Enable WP SCCP by default #10263

Merged
merged 1 commit into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading