aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/runtime/BlazeServerStartupOptions.java
diff options
context:
space:
mode:
authorGravatar janakr <janakr@google.com>2017-08-15 21:09:50 +0200
committerGravatar Irina Iancu <elenairina@google.com>2017-08-16 11:05:55 +0200
commitff746b4aaa5bb7109ff543a72c165fa6e785916f (patch)
tree3d4d848b744542e099bc398bf4b82b42fffa8a0d /src/main/java/com/google/devtools/build/lib/runtime/BlazeServerStartupOptions.java
parent7481de4637998750a0f0eda2e39d09a5a9f84be9 (diff)
Add the command option --experimental_oom_more_eagerly_threshold. This will replace the startup option after a deprecation period.
PiperOrigin-RevId: 165340514
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/runtime/BlazeServerStartupOptions.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/runtime/BlazeServerStartupOptions.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/BlazeServerStartupOptions.java b/src/main/java/com/google/devtools/build/lib/runtime/BlazeServerStartupOptions.java
index 03932bb007..a5bb9d7531 100644
--- a/src/main/java/com/google/devtools/build/lib/runtime/BlazeServerStartupOptions.java
+++ b/src/main/java/com/google/devtools/build/lib/runtime/BlazeServerStartupOptions.java
@@ -209,7 +209,8 @@ public class BlazeServerStartupOptions extends OptionsBase {
help =
"If set, attempt to detect Java heap OOM conditions and exit before thrashing. Only "
+ "honored when --batch is also passed. In some cases, builds that previously "
- + "succeeded may OOM if they were close to OOMing before."
+ + "succeeded may OOM if they were close to OOMing before. Deprecated: "
+ + "Use the command argument --experimental_oom_more_eagerly_threshold instead."
)
public boolean oomMoreEagerly;
@@ -220,8 +221,9 @@ public class BlazeServerStartupOptions extends OptionsBase {
documentationCategory = OptionDocumentationCategory.BAZEL_CLIENT_OPTIONS,
effectTags = {OptionEffectTag.LOSES_INCREMENTAL_STATE, OptionEffectTag.EAGERNESS_TO_EXIT},
help =
- "If this flag is set, Blaze will OOM if, after two full GC's, more than this "
- + "percentage of the (old gen) heap is still occupied."
+ "If this flag is set, Blaze will OOM if, after two full GC's, more than this percentage of "
+ + "the (old gen) heap is still occupied. Deprecated: Use the command argument "
+ + "--experimental_oom_more_eagerly_threshold instead."
)
public int oomMoreEagerlyThreshold;