ACM Home Page
Please provide us with feedback. Feedback
Thin locks: featherweight Synchronization for Java
Full text PdfPdf (1.94 MB)
Source ACM SIGPLAN Notices archive
Volume 39 ,  Issue 4  (April 2004) table of contents
Best of PLDI 1979-1999
SPECIAL ISSUE: 1998 table of contents
Pages: 583 - 595  
Year of Publication: 2004
ISSN:0362-1340
Authors
David F. Bacon  IBM T.J. Watson Research Center, Yorktown Heights, NY
Ravi Konuru  IBM T.J. Watson Research Center, Yorktown Heights, NY
Chet Murthy  IBM T.J. Watson Research Center, Yorktown Heights, NY
Mauricio J. Serrano  Intel Microprocessor Research Labs, Santa Clara, CA
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 6,   Downloads (12 Months): 35,   Citation Count: 3
Additional Information:

abstract   references   cited by   collaborative colleagues  

Tools and Actions: Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/989393.989452
What is a DOI?

ABSTRACT

Language-supported synchronization is a source of serious performance problems in many Java programs. Even single-threaded applications may spend up to half their time performing useless synchronization due to the thread-safe nature of the Java libraries. We solve this performance problem with a new algorithm that allows lock and unlock operations to be performed with only a few machine instructions in the most common cases. Our locks only require a partial word per object, and were implemented without increasing object size. We present measurements from our implementation in the JDK 1.1.2 for AIX, demonstrating speedups of up to a factor of 5 in micro-benchmarks and up to a factor of 1.7 in real programs.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

1
 
2
BACON, D. F., AND FINK, S. J. Method to provide concurrency control over objects without atomic operations on non-shared objects. U.S. patent filed August 7, 2000.
 
3
4
5
6
 
7
GAGNON, E., AND HENDREN, L. SableVM: A research framework for the efficient execution of Java bytecode. In Proceedings of the Java Virtual Machine Research and Technology Symposium (Apr. 2001), pp. 27--40.
 
8
9
10
11
 
12
 
13
14
 
15
16
17
 
18
IBM CORPORATION. IBM 370 Principles of Operation.
 
19
KRALL, A., AND PROBST, M. Monitors and exceptions: How to implement Java efficiently. IN ACM Workshop on Java for High-Performance Network Computing (1998).
20
21
22
23
24
25
 
26

Collaborative Colleagues:
David F. Bacon: colleagues
Ravi Konuru: colleagues
Chet Murthy: colleagues
Mauricio J. Serrano: colleagues