Skip to content

Commit 0a5c70b

Browse files
Googlercopybara-github
authored andcommitted
Blaze gives up if it has spent a large fraction of the invocation's wall time doing full GCs.
This is controlled by the new option `--gc_churning_threshold` whose default value of `100` effectively means "never give up for this reason" i.e. is the old behavior of Blaze. PiperOrigin-RevId: 744337952
1 parent a1b68d8 commit 0a5c70b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

third_party/bazel/src/main/protobuf/failure_details.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,12 @@ message Crash {
356356
//
357357
// See --gc_thrashing_threshold and --gc_thrashing_limits.
358358
GC_THRASHING = 3;
359+
360+
// Blaze gave up and pretended it OOM'd because it has spent too much of the
361+
// invocation wall time doing full GCs.
362+
//
363+
// See --gc_churning_threshold.
364+
GC_CHURNING = 4;
359365
}
360366

361367
// If Blaze OOM'd (code = CRASH_OOM), the category of cause of that OOM.

0 commit comments

Comments
 (0)