標題: | A more expressive monitor for concurrent Java programming |
作者: | Chiao, HT Wu, CH Yuan, SM 資訊工程學系 Department of Computer Science |
公開日期: | 2000 |
摘要: | The thread synchronization mechanism employed by Java is derived from the Hoare's monitor concept. In order to minimize its implementation complexity, the monitor provided by Java is quite primitive. This design decision prefers simple concurrent objects and single-thread programs. However, we think the Java monitor is over simplified for developing more elaborated concurrent objects. Besides, several features of the Java monitor will bring extra overhead when thread contention gets higher. Currently, we have identified five drawbacks of the Java monitor. In this paper, we will first analyze these drawbacks in depth, and then propose a new monitor-based synchronization mechanism called EMonior. It has better expressive power, and introduces fewer overheads than the Java monitor when contention occurs. EMonior uses a preprocessor to translate the Java programs containing EMonitor syntax to regular Java programs that invoke EMonitor class libraries. It is very suitable to replace the Java monitor with the EMonitor when developing elaborate concurrent objects or high-contention concurrent systems. |
URI: | http://hdl.handle.net/11536/30886 |
ISBN: | 3-540-67956-1 |
ISSN: | 0302-9743 |
期刊: | EURO-PAR 2000 PARALLEL PROCESSING, PROCEEDINGS |
Volume: | 1900 |
起始頁: | 1053 |
結束頁: | 1060 |
Appears in Collections: | Conferences Paper |