| A study of locking objects with bimodal fields |
| Full text |
Pdf
(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 |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 6, Downloads (12 Months): 32, Citation Count: 14
|
|
|
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
|
David F. Bacon , Ravi Konuru , Chet Murthy , Mauricio Serrano, Thin locks: featherweight synchronization for Java, Proceedings of the ACM SIGPLAN 1998 conference on Programming language design and implementation, p.258-268, June 17-19, 1998, Montreal, Quebec, Canada
|
| |
6
|
|
| |
7
|
IBM Corporation. Aglets Software Development Kit. http://www.tri.ibm.co.jp/aglets/ (current April 1, 1999).
|
 |
8
|
Anna R. Karlin , Kai Li , Mark S. Manasse , Susan Owicki, Empirical studies of competitve spinning for a shared-memory multiprocessor, Proceedings of the thirteenth ACM symposium on Operating systems principles, p.41-55, October 13-16, 1991, Pacific Grove, California, United States
|
| |
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
|
Cathy May , Ed Silha , Rick Simpson , Hank Warren , CORPORATE International Business Machines, Inc., The PowerPC architecture: a specification for a new family of RISC processors, Morgan Kaufmann Publishers Inc., San Francisco, CA, 1994
|
 |
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
|
|
Bowen Alpern , C. R. Attanasio , Anthony Cocchi , Derek Lieber , Stephen Smith , Ton Ngo , John J. Barton , Susan Flynn Hummel , Janice C. Sheperd , Mark Mergen, Implementing jalapeño in Java, ACM SIGPLAN Notices, v.34 n.10, p.314-324, Oct. 1999
|
|
|
Kazuaki Ishizaki , Mikio Takeuchi , Kiyokuni Kawachiya , Toshio Suganuma , Osamu Gohda , Tatsushi Inagaki , Akira Koseki , Kazunori Ogata , Motohiro Kawahito , Toshiaki Yasue , Takeshi Ogasawara , Tamiya Onodera , Hideaki Komatsu , Toshio Nakatani, Effectiveness of cross-platform optimizations for a java just-in-time compiler, ACM SIGPLAN Notices, v.38 n.11, November 2003
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
B. Alpern , C. R. Attanasio , J. J. Barton , M. G. Burke , P. Cheng , J.-D. Choi , A. Cocchi , S. J. Fink , D. Grove , M. Hind , S. F. Hummel , D. Lieber , V. Litvinov , M. F. Mergen , T. Ngo , J. R. Russell , V. Sarkar , M. J. Serrano , J. C. Shepherd , S. E. Smith , V. C. Sreedhar , H. Srinivasan , J. Whaley, The Jalapeño virtual machine, IBM Systems Journal, v.39 n.1, p.211-238, January 2000
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|