4 ms·
Thin Locks: Featherweight Synchronization for Java (1998) [pdf]
- oftenwrong 7y ago>Download Limit Exceeded >You have exceeded your daily download allowance.
- archielc 7y agohttps://www.cs.tufts.edu/~nr/cs257/archive/david-bacon/thin.ps https://www.cs.tufts.edu/~nr/cs257/archive/david-bacon/thin.... Same just in PostScript
- gpderetta 7y agoNice paper. IIRC sometime later a further important optimization, known as biased locking[1], was added to Java locks to avoid, in the always uncontended case, the expensive CAS required to acquire the lock. [1] https://blogs.oracle.com/dave/biased-locking-in-hotspot https://blogs.oracle.com/dave/biased-locking-in-hotspot
- twic 7y agoThere was a sequel to this, from different researchers, also at IBM, proposing an improvement called a tasuki lock: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.92.3010&rep=rep1&type=pdf http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.92....