[vm, gc] Set the idle duration to effectively infinite.

This applies only to isolates running on the VM's thread pool.

TEST=manually inspect timeline in program with very large heap
Bug: https://github.com/dart-lang/sdk/issues/51125
Change-Id: Ib70cee7c163231b7aef4d723f35d056d4cb1cbf7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/279477
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
This commit is contained in:
Ryan Macnak 2023-01-27 19:03:18 +00:00 committed by Commit Queue
parent 3d67fa5a20
commit 2b8ca6f2f5

View file

@ -132,7 +132,7 @@ constexpr bool FLAG_support_il_printer = false;
"methods.") \
P(idle_timeout_micros, int, 1000 * kMicrosecondsPerMillisecond, \
"Consider thread pool isolates for idle tasks after this long.") \
P(idle_duration_micros, int, 500 * kMicrosecondsPerMillisecond, \
P(idle_duration_micros, int, kMaxInt32, \
"Allow idle tasks to run for this long.") \
P(interpret_irregexp, bool, false, "Use irregexp bytecode interpreter") \
P(lazy_async_stacks, bool, true, "Obsolete, ignored.") \