Please sign in to comment.
Fix thread shutdown race condition
This ensures we can tear down the roots and thread data structures outside of using them in the GC. There was a race possible where we would be iterating threads in the GC while an entry was removed. This was possible because the deconstructor for VM would run outside a GC dependent block.
- Loading branch information...
Showing with 16 additions and 1 deletion.