Java虚拟机用户级多线程的设计与实现  被引量:6

Design and Implementation of User Level Multi Threads in Java Virtual Machine

在线阅读下载全文

作  者:丁宇新[1] 程虎[1] 126.com 

机构地区:[1]中国科学院软件研究所,北京100080

出  处:《软件学报》2000年第5期701-706,共6页Journal of Software

基  金:国家"九五"重点科技攻关项目基金!(No.96-737)资助

摘  要:详细介绍了国产开放系统平台 Java虚拟机多线程的设计与实现 .在线程调度上 ,采用带有独立队列的静态级别轮巡调度 ,较好地解决了独立循环线程的调度问题 .对于线程的同步 ,采用了哈希混合锁的设计方案 .实验结果证明 ,该锁具有空间小。In this paper, the authors discuss the design and implementation of Java multi threads. A new thread scheduling algorithm, named Preemptive Round Robin Scheduling with a Free Queue, is presented. Under this policy threads in the free queue are not assigned with a constant priority. Their priority is the same as the highest priority threads which are in running state. The highest priority threads and the threads in the free queue are time sliced scheduled. This algorithm solves the scheduling problem for independent looping thread. To improve the efficiency of thread synchronization, a new design for object lock is presented. It is called the Mixed Hash Object Lock. This design is a tradeoff between the lock efficiency and its space. The experimental results have proved that the design is feasible. Compared with the traditional design, the efficiency for locking and unlocking is high and the space allocated to lock is small.

关 键 词:虚拟机 多线性 JAVA语言 设计 操作系统 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论] TP316[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象