Y
Hacker News
new
|
ask
|
show
|
jobs
by
skitter
373 days ago
Yup, that's what I'm doing - storing the two bits needed for an object's monitor in the same word as its compressed class pointer. The pointer doesn't change over the lock's lifetime.