Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's not enough. Imagine a circular linked list. GC looks at an outside pointer to item A in it. Now another thread removes A from the list and moves the outside pointer to the next item. After that, GC would see all items in the list not referenced by anything (apart from the cycle).


Yeah, I didn't say it was sufficient. I just said it's probably one of the things they do.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: