ACM Home Page
Please provide us with feedback. Feedback
A study of locking objects with bimodal fields
Full text PdfPdf (1.45 MB)
Source Conference on Object Oriented Programming Systems Languages and Applications archive
Proceedings of the 14th ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications table of contents
Denver, Colorado, United States
Pages: 223 - 237  
Year of Publication: 1999
ISBN:1-58113-238-7
Also published in ...
Authors
Tamiya Onodera  IBM Research, Tokyo Research Laboratory, 1623-14, Shimo-tsuruma, Yamato-shi, Kanagawa-ken 242-8502, Japan
Kiyokuni Kawachiya  IBM Research, Tokyo Research Laboratory, 1623-14, Shimo-tsuruma, Yamato-shi, Kanagawa-ken 242-8502, Japan
Sponsor
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 6,   Downloads (12 Months): 32,   Citation Count: 14
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

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

ABSTRACT

Object locking can be efficiently implemented by bimodal use of a field reserved in an object. The field is used as a lightweight lock in one mode, while it holds a reference to a heavyweight lock in the other mode. A bimodal locking algorithm recently proposed for Java achieves the highest performance in the absence of contention, and is still fast enough when contention occurs.However, mode transitions inherent in bimodal locking have not yet been fully considered. The algorithm requires busy-wait in the transition from the light mode (inflation), and does not make the reverse transition (deflation) at all.We propose a new algorithm that allows both inflation without busy-wait and deflation, but still maintains an almost maximum level of performance in the absence of contention. We also present statistics on the synchronization behavior of real multithreaded Java programs, which indicate that busy-wait in inflation and absence of deflation can be problematic in terms of robustness and performance. Actually, an implementation of our algorithm shows increased robustness, and achieves performance improvements of up to 13.1% in server-oriented benchmarks.


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
 
3
 
4
Ole Agesen, David Detlefs, Alex Garthwaite, Ross Knippel, Y.S. R~makrishna, and Derek White. Aa Efficient Meta-lock for Implementing Ubiquitous Synchronization. OOPSLA'99 Conference Proceedings, To appear.
5
 
6
 
7
IBM Corporation. Aglets Software Development Kit. http://www.tri.ibm.co.jp/aglets/ (current April 1, 1999).
8
 
9
Andreas Krall and Mark Probst. Monitors and Exceptions: How to Implement Java Efficiently. A CM 1998 Workshop on Java .for High-Performance Network Computing.
10
11
 
12
Lotus Development Corporation. eSuige DevSite. http://esuite.lotus.com/ (current April 1, 1999).
 
13
14
 
15
James G. Mitheell, William Maybury, and Richard Sweet. Mesa Language Manual CSL-79-3, Xerox Palo Alto Research Center (April 1979).
 
16
Tamiya Onodera. a Simple and Space-Ej~cient Monitor Optimization for Java. Research Report RT0259, IBM Research, Tokyo Research Laboratory (july 1998).
 
17
Transaction Processing Performance Council. TPC-C Benchmark Specification. http://www.tpc.org/cspe~.html (current April i, 1999).
 
18
John K. Ousterhout. Scheduling Techniques for Concurrent Systems. Proceedings of the 3rd In. tevnational Conference on Distributed Computing Systems, 1982, 22-30.
 
19
Sun Microsystems, inc. Hot Java Product Family. http"//java, sun. corn/products/hot java/ (current April 1, 1999).
 
20
Transvirtual Technologies, Inc. Knife. http ://www. transvirtual, com/kaffe .html (current April 1, 1999).
21

CITED BY  14

Collaborative Colleagues:
Tamiya Onodera: colleagues
Kiyokuni Kawachiya: colleagues