摘要
自动垃圾回收技术是Java的核心技术之一。垃圾回收耗时的不确定性阻碍了Java在实时过程中的应用。基于最大响应时间分析方法,利用Petri网分析了垃圾回收过程。通过Java虚拟机内部堆空间的合理划分和采用多线程同步技术可以降低垃圾回收中的停滞现象,提高Java程序的执行速度和实时性。
The techniques for garbage collection are a core technique of Java. The garbage collection is time-consuming so that the indeterminacy of it baffles the applications in the course of real-tlme in Java. Based on analysis method of the most respond time, the course of garbage collection is analyzed by utilized the Petri net. By reasonable partition of interior stack and multithreading synchronization technique,the stagnancy phenomenon of garbage collection can be reduced. And in Java program the execution speed and the real-time character can be improved.
出处
《计算机应用与软件》
CSCD
北大核心
2006年第2期137-139,共3页
Computer Applications and Software
基金
河南省自然科学基金(No.0311012600)资助
教育部科研基金(No.20030503)资助