Skip to content

Commit 143aa4b

Browse files
aartbikcommit-bot@chromium.org
authored andcommitted
[vm/fuzzer] don't print oom on oom
Rationale: exit code suffices, don't make it more likely that the oom handler itself goes oom #38657 Change-Id: I3037c8e781da06d05b74eddd8b1d57ff9fb00f29 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/120301 Reviewed-by: Felicitas Hetzelt <felih@google.com> Commit-Queue: Aart Bik <ajcbik@google.com>
1 parent 65b9109 commit 143aa4b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

runtime/tools/dartfuzz/dartfuzz.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import 'dartfuzz_type_table.dart';
1414
// Version of DartFuzz. Increase this each time changes are made
1515
// to preserve the property that a given version of DartFuzz yields
1616
// the same fuzzed program for a deterministic random seed.
17-
const String version = '1.58';
17+
const String version = '1.59';
1818

1919
// Restriction on statements and expressions.
2020
const int stmtDepth = 1;
@@ -485,7 +485,6 @@ class DartFuzz {
485485
indent -= 2;
486486
emitLn('} on OutOfMemoryError {');
487487
indent += 2;
488-
emitLn("print(\'oom\');");
489488
emitLn("exit(${oomExitCode});");
490489
indent -= 2;
491490
emitLn('} catch (e, st) {');

0 commit comments

Comments
 (0)