зеркало из https://github.com/github/ruby.git
Do not throttle the workaround for --jit-wait
--jit-wait CI can be stuck when the workaround is throttled http://ci.rvm.jp/results/trunk-mjit-wait@phosphorus-docker/3274091
This commit is contained in:
Родитель
fd329e24c5
Коммит
dbdeb92b68
|
@ -1369,11 +1369,10 @@ mjit_worker(void)
|
|||
RB_DEBUG_COUNTER_INC(mjit_unload_units);
|
||||
unload_units();
|
||||
unload_requests = 0;
|
||||
|
||||
if (active_units.length == mjit_opts.max_cache_size && mjit_opts.wait) { // Sometimes all methods may be in use
|
||||
mjit_opts.max_cache_size++; // avoid infinite loop on `rb_mjit_wait_call`. Note that --jit-wait is just for testing.
|
||||
verbose(1, "No units can be unloaded -- incremented max-cache-size to %d for --jit-wait", mjit_opts.max_cache_size);
|
||||
}
|
||||
}
|
||||
if (active_units.length == mjit_opts.max_cache_size && mjit_opts.wait) { // Sometimes all methods may be in use
|
||||
mjit_opts.max_cache_size++; // avoid infinite loop on `rb_mjit_wait_call`. Note that --jit-wait is just for testing.
|
||||
verbose(1, "No units can be unloaded -- incremented max-cache-size to %d for --jit-wait", mjit_opts.max_cache_size);
|
||||
}
|
||||
}
|
||||
unit = get_from_list(&unit_queue);
|
||||
|
|
Загрузка…
Ссылка в новой задаче