Commit de391acf authored by Al Muthanna Athamina's avatar Al Muthanna Athamina Committed by V8 LUCI CQ

Allow interrupt budget fuzzer to run tests

Bug: v8:13269
Change-Id: I0f35101bd4b8a91ed5aa596cb5d27a5dbb5f764e
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3882976Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
Commit-Queue: Almothana Athamneh <almuthanna@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83098}
parent b120f3e6
...@@ -324,7 +324,7 @@ class InterruptBudgetFuzzer(Fuzzer): ...@@ -324,7 +324,7 @@ class InterruptBudgetFuzzer(Fuzzer):
# Half with, half without lazy feedback allocation. The first flag # Half with, half without lazy feedback allocation. The first flag
# overwrites potential flag negations from the extra flags list. # overwrites potential flag negations from the extra flags list.
flag1 = rng.choice( flag1 = rng.choice(
'--lazy-feedback-allocation', '--no-lazy-feedback-allocation') ['--lazy-feedback-allocation', '--no-lazy-feedback-allocation'])
flag2 = '--interrupt-budget=%d' % rng.randint(0, 135168) flag2 = '--interrupt-budget=%d' % rng.randint(0, 135168)
flag3 = '--interrupt-budget-for-maglev=%d' % rng.randint(0, 40960) flag3 = '--interrupt-budget-for-maglev=%d' % rng.randint(0, 40960)
flag4 = '--interrupt-budget-for-feedback-allocation=%d' % rng.randint( flag4 = '--interrupt-budget-for-feedback-allocation=%d' % rng.randint(
...@@ -391,15 +391,15 @@ class DeoptFuzzer(Fuzzer): ...@@ -391,15 +391,15 @@ class DeoptFuzzer(Fuzzer):
FUZZERS = { FUZZERS = {
'compaction': (None, CompactionFuzzer), 'compaction': (None, CompactionFuzzer),
'delay': (None, TaskDelayFuzzer), 'delay': (None, TaskDelayFuzzer),
'deopt': (DeoptAnalyzer, DeoptFuzzer), 'deopt': (DeoptAnalyzer, DeoptFuzzer),
'gc_interval': (GcIntervalAnalyzer, GcIntervalFuzzer), 'gc_interval': (GcIntervalAnalyzer, GcIntervalFuzzer),
'interrupt': InterruptBudgetFuzzer, 'interrupt': (None, InterruptBudgetFuzzer),
'marking': (MarkingAnalyzer, MarkingFuzzer), 'marking': (MarkingAnalyzer, MarkingFuzzer),
'scavenge': (ScavengeAnalyzer, ScavengeFuzzer), 'scavenge': (ScavengeAnalyzer, ScavengeFuzzer),
'stack': (None, StackSizeFuzzer), 'stack': (None, StackSizeFuzzer),
'threads': (None, ThreadPoolSizeFuzzer), 'threads': (None, ThreadPoolSizeFuzzer),
} }
......
...@@ -62,6 +62,7 @@ class AugmentedOptions(optparse.Values): ...@@ -62,6 +62,7 @@ class AugmentedOptions(optparse.Values):
fuzzers.append(fuzzer.create_fuzzer_config(name, prob, *args)) fuzzers.append(fuzzer.create_fuzzer_config(name, prob, *args))
add('compaction', self.stress_compaction) add('compaction', self.stress_compaction)
add('interrupt', self.stress_interrupt_budget)
add('marking', self.stress_marking) add('marking', self.stress_marking)
add('scavenge', self.stress_scavenge) add('scavenge', self.stress_scavenge)
add('gc_interval', self.stress_gc) add('gc_interval', self.stress_gc)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment