From 8cc772ef98604678d99b6a685e412a11a6508ba5 Mon Sep 17 00:00:00 2001 From: Janak Ramakrishnan Date: Wed, 23 Mar 2016 17:26:12 +0000 Subject: 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 --- src/main/cpp/blaze_startup_options.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/cpp/blaze_startup_options.cc') 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), -- cgit v1.2.3