Skip to content

Commit

Permalink
Leave breadcrumbs in FailureDetail and the info log when classifyin…
Browse files Browse the repository at this point in the history
…g a non-OOM crash as an OOM.

(cherry picked from commit a94dbd1)
  • Loading branch information
Googler authored and mai93 committed Feb 6, 2023
1 parent 2a4338d commit 79a77ff
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions third_party/bazel/src/main/protobuf/failure_details.proto
Expand Up @@ -318,6 +318,11 @@ message Crash {
// The cause chain of the crash, with the outermost throwable first. Limited
// to the outermost exception and at most 4 nested causes (so, max size of 5).
repeated Throwable causes = 2;

// True when the root cause of the crash was not an OutOfMemoryError, but
// CRASH_OOM was chosen because an OutOfMemoryError was detected prior to the
// crash.
bool oom_detector_override = 3;
}

message Throwable {
Expand Down

0 comments on commit 79a77ff

Please sign in to comment.