Skip to content

Commit

Permalink
[GR-60185] Make ExitOnOutOfMemoryError a simple RuntimeOptionKey.
Browse files Browse the repository at this point in the history
PullRequest: graal/19465
  • Loading branch information
gilles-duboscq committed Nov 30, 2024
2 parents 56a28ff + 2cf5fa7 commit fbecd9d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ protected void onValueUpdate(EconomicMap<OptionKey<?>, Object> values, Long oldV
public static final RuntimeOptionKey<Long> ReservedAddressSpaceSize = new RuntimeOptionKey<>(0L, IsolateCreationOnly);

@Option(help = "Exit on the first occurrence of an out-of-memory error that is thrown because the Java heap is out of memory.", type = OptionType.Expert)//
public static final RuntimeOptionKey<Boolean> ExitOnOutOfMemoryError = new NotifyGCRuntimeOptionKey<>(false, Immutable);
public static final RuntimeOptionKey<Boolean> ExitOnOutOfMemoryError = new RuntimeOptionKey<>(false, Immutable);

@Option(help = "Report a fatal error on the first occurrence of an out-of-memory error that is thrown because the Java heap is out of memory.", type = OptionType.Expert)//
public static final RuntimeOptionKey<Boolean> ReportFatalErrorOnOutOfMemoryError = new RuntimeOptionKey<>(false);
Expand Down

0 comments on commit fbecd9d

Please sign in to comment.