mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
GVL Instrumentation: remove the EXITED count assertion
It's very flaky for some unknown reason. Something we have an extra EXITED event. I suspect some other test is causing this.
This commit is contained in:
parent
13d2ae6d4a
commit
664c23db79
Notes:
git
2022-07-14 02:39:55 +09:00
5 changed files with 3 additions and 12 deletions
|
@ -448,13 +448,6 @@ thread_sched_to_waiting(struct rb_thread_sched *sched)
|
|||
rb_native_mutex_unlock(&sched->lock);
|
||||
}
|
||||
|
||||
static void
|
||||
thread_sched_to_dead(struct rb_thread_sched *sched)
|
||||
{
|
||||
thread_sched_to_waiting(sched);
|
||||
RB_INTERNAL_THREAD_HOOK(RUBY_INTERNAL_THREAD_EVENT_EXITED);
|
||||
}
|
||||
|
||||
static void
|
||||
thread_sched_yield(struct rb_thread_sched *sched, rb_thread_t *th)
|
||||
{
|
||||
|
@ -1177,6 +1170,8 @@ thread_start_func_1(void *th_ptr)
|
|||
#else
|
||||
thread_start_func_2(th, &stack_start);
|
||||
#endif
|
||||
|
||||
RB_INTERNAL_THREAD_HOOK(RUBY_INTERNAL_THREAD_EVENT_EXITED);
|
||||
}
|
||||
#if USE_THREAD_CACHE
|
||||
/* cache thread */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue