| 摘要: |
| 从解释执行到及时编译的转变极大地提高了Java程序的运行速度.但是,现有的Java虚拟机还有待进一步的改进.提出了一种新的Java虚拟机编译与执行模型--混合并发模型HCCEM(hybrid concurrent compilation and execution model).该模型通过多线程控制方式将字节码的编译与执行过程相重叠,从而获取加速的效果.另外还给出了基于HCCEM的Java虚拟机JAFFE的设计方案,并就实现中的执行模式切换、异常处理以及层次线程等问题进行了讨论.实验结果表明,HCCEM能 |
| 关键词: 混合并发 Java虚拟机 异常处理 多线程 |
| DOI: |
| 分类号: |
| 基金项目:国家自然科学基金资助项目(69873023) |
|
| A Java Virtual Machine Based on Hybrid Concurrent Compilation and Execution Model |
|
YANG Bo,WANG Ding-xing,ZHENG Wei-min
|
| Abstract: |
| The change from interpretation to just-in-time compilation has improved the performance of Java dramatically. However, further amelioration is still possible. In this paper, a hybrid concurrent compilation and execution model (HCCEM) is proposed, which possesses the potential to surpass JIT by overlapping the production of native code with program execution through multithreaded control. The design of JAFFE, a Java virtual machine based on HCCEM, and some critical problems are also discussed in the implementation such as mode switch,exception handling and hierarchicl multithreads.The experimental result shows that HCCEM can improve the execution speed of java programs efficiently. |
| Key words: just-in-time compilation hybrid concurrent Java virtual machine exception handling hierarchical multithreads |