Change search
ReferencesLink to record
Permanent link

Direct link
Evaluating and improving biased locking in theHotSpot virtual machine
KTH, School of Computer Science and Communication (CSC).
2014 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

Biased locking is an optimization to enable very fast synchronization in the Java virtual machine. It is based on the observation that many times objects are not shared between threads, and could therefore avoid the slower and otherwise necessary atomic instructions for synchronization.In this thesis, the biased locking algorithm and some of its variations are investigated. The biased locking implementation in the HotSpot virtual machine is evaluated and analysed. Standard and common benchmark suites,as well as microbenchmarks are used to evaluate the implementation.Although occasionally negative, the results suggest overall positive effects from biased locking, both on new and old hardware. A prototype of an improvement to the algorithm is implemented in HotSpot. The prototype is evaluated and analysed using microbenchmarks. Results indicate performance improvement in certain scenarios using the prototype, suggesting that the improvement might be useful.

Place, publisher, year, edition, pages
National Category
Computer Science
URN: urn:nbn:se:kth:diva-153964OAI: diva2:754541
Available from: 2014-11-21 Created: 2014-10-10 Last updated: 2014-11-21Bibliographically approved

Open Access in DiVA

fulltext(600 kB)240 downloads
File information
File name FULLTEXT01.pdfFile size 600 kBChecksum SHA-512
Type fulltextMimetype application/pdf

By organisation
School of Computer Science and Communication (CSC)
Computer Science

Search outside of DiVA

GoogleGoogle Scholar
Total: 240 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

Total: 88 hits
ReferencesLink to record
Permanent link

Direct link