Skip to content

Commit 4ed596e

Browse files
authored
Remove an unnecessary assertion in tiering (#68577)
Fixes #65914
1 parent e48e107 commit 4ed596e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/coreclr/vm/tieredcompilation.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,9 +504,9 @@ void TieredCompilationManager::BackgroundWorkerStart()
504504
{
505505
continue;
506506
}
507-
_ASSERTE(waitResult == WAIT_TIMEOUT);
508507

509-
// The wait timed out, see if the worker can exit
508+
// The wait timed out, see if the worker can exit. When using the PAL, it may be possible to get WAIT_FAILED in some
509+
// shutdown scenarios, treat that as a timeout too since a signal would not have been observed anyway.
510510

511511
LockHolder tieredCompilationLockHolder;
512512

0 commit comments

Comments
 (0)