> And since we couldn't use Mutex (and don't need most of their > functionality), the next best way to do it was implement a small cas- > based spinlock. Even a VM Mutex with the no_safepoint_check_flag? Roland.