%0 Journal Article
%T Design and Implementation of User Level Multi-Threads in Java Virtual Machine
Java虚拟机用户级多线程的设计与实现
%A DING Yu-xin
%A CHENG Hu
%A
丁宇新
%A 程虎
%J 软件学报
%D 2000
%I
%X 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.
%K Java
%K virtual machine
%K thread
Java
%K 虚拟机
%K 线程.
%U http://www.alljournals.cn/get_abstract_url.aspx?pcid=5B3AB970F71A803DEACDC0559115BFCF0A068CD97DD29835&cid=8240383F08CE46C8B05036380D75B607&jid=7735F413D429542E610B3D6AC0D5EC59&aid=80873A72CF6F7617&yid=9806D0D4EAA9BED3&vid=708DD6B15D2464E8&iid=94C357A881DFC066&sid=80BBC722D530DB8D&eid=C19D5524C51D7FE4&journal_id=1000-9825&journal_name=软件学报&referenced_num=5&reference_num=5