aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/cpp/blaze_startup_options.cc
diff options
context:
space:
mode:
authorGravatar Janak Ramakrishnan <janakr@google.com>2016-03-23 17:26:12 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2016-03-24 10:31:43 +0000
commit8cc772ef98604678d99b6a685e412a11a6508ba5 (patch)
tree59e3b96e6813a04ca9d8692529850e7c90f171d8 /src/main/cpp/blaze_startup_options.cc
parentb92c097ffac2e2e50632fc0a6e4f6909386aee45 (diff)
Add startup option --experimental_oom_more_eagerly_threshold, with default value 90. When --experimental_oom_more_eagerly is enabled, if after two full GCs the old gen is still >=--experimental_oom_more_eagerly_threshold% full, exit the JVM.
-- MOS_MIGRATED_REVID=117943361
Diffstat (limited to 'src/main/cpp/blaze_startup_options.cc')
-rw-r--r--src/main/cpp/blaze_startup_options.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/cpp/blaze_startup_options.cc b/src/main/cpp/blaze_startup_options.cc
index 7a27abe1ec..2a16cf5e58 100644
--- a/src/main/cpp/blaze_startup_options.cc
+++ b/src/main/cpp/blaze_startup_options.cc
@@ -52,6 +52,7 @@ BlazeStartupOptions::BlazeStartupOptions(const BlazeStartupOptions &rhs)
io_nice_level(rhs.io_nice_level),
max_idle_secs(rhs.max_idle_secs),
oom_more_eagerly(rhs.oom_more_eagerly),
+ oom_more_eagerly_threshold(rhs.oom_more_eagerly_threshold),
watchfs(rhs.watchfs),
allow_configurable_attributes(rhs.allow_configurable_attributes),
option_sources(rhs.option_sources),