标题: | 在JAVA虚拟机器上利用物件重用缓冲区加速物件存取 |
作者: | 杨钦麟 单智君 资讯科学与工程研究所 |
关键字: | JAVA;物件;缓冲区;Java;object;buffer |
公开日期: | 2002 |
摘要: | Java为物件导向之语言,因此在Java程式中,会有许多物件存取的动作。然而这些动作需要很多的执行时间以及多次的记忆体存取。在本篇论文中,我们提出一个软体缓冲区,我们称作物件重用缓冲区,并且利用许多程式物件存取都有集中于一些少数的类别以及物件变数之特性,将这些经常使用的物件变数放入我们所设计之物件重用缓冲区。接下来物件存取都经由此物件重用缓冲区,以加速物件之存取动作。藉由Trace-driven的方式对Embedded CaffeineMark标竿程式进行模拟,结果显示在JIT compiler中,若每次记忆体存取为两个周期时,预估整体效能将增进1.12倍,并且于记忆体存取大于十个周期之平台之上,预估整体效能可以增进1.5倍之上。 One of Java program characteristic is object-oriented; there are lots of object access operation and these operation need lots of time and memory access. In this thesis, we proposed a method of software buffer and using characteristic of object field access are gathering to some classes and instance variables in lots of Java program. We buffer these instance variables in our object-field reusing buffer and access these instance variables from the buffer to accelerate object-field access. By Trace-driven simulation of the proposed method on Embedded CaffeineMark benchmark show that our proposed method can achieve 1.12 speedup over JIT compiler where memory access cycle counts is two cycles. And we predicted that our proposed method could achieve 1.5 above speedup over JIT compiler where memory access cycle counts is over ten cycles. |
URI: | http://140.113.39.130/cdrfb3/record/nctu/#NT910392060 http://hdl.handle.net/11536/70132 |
显示于类别: | Thesis |