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

Exactly. Or maybe copy-on-duplicate-access detection. So keep a single copy on heap but when accessed first time by second context/thread then make a copy of it. Azul's Java GC plays some of these games with read barriers. They detect reads to certain pointers and set callbacks to run custom code when they happen.


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

Search: