You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[MERGE #5398@atulkatti] MSFT:18075741 Fail fast if the concurrent threads are not shutdown when Recycler is deleted.
Merge pull request #5398 from atulkatti:Bug18075741.DeleteRecyclerFailFast.1
We haven't seen this happen in the wild. But JSHost Fuzzing tools are hitting this pretty often. It seems the fuzzer is using test flavor. Converting these asserts to fail fast to help with the investigation.
AssertMsg(recycler->concurrentThread == NULL, "Recycler background thread should have been shutdown before destroying Recycler.");
532
-
AssertMsg((recycler->parallelThread1.concurrentThread == NULL) && (recycler->parallelThread2.concurrentThread == NULL), "Recycler parallelThread(s) should have been shutdown before destroying Recycler.");
530
+
#if ENABLE_CONCURRENT_GC && defined(_WIN32)
531
+
AssertOrFailFastMsg(recycler->concurrentThread == NULL, "Recycler background thread should have been shutdown before destroying Recycler.");
532
+
AssertOrFailFastMsg((recycler->parallelThread1.concurrentThread == NULL) && (recycler->parallelThread2.concurrentThread == NULL), "Recycler parallelThread(s) should have been shutdown before destroying Recycler.");
0 commit comments