期刊文献+

Java3D中垃圾回收问题及解决方法

Garbage reclaiming and solving method in Java3D
下载PDF
导出
摘要 为了解决Java3D搭建的三维场景需要占用大量内存空间、容易导致内存溢出的问题,通过分析修改场景后需对场景中不再使用的Java3D对象进行垃圾回收、但Java垃圾回收机制无法直接作用于Java3D对象这一现象,在具体应用中设计了2种有效的方法对Java3D对象进行垃圾回收,分别实现了对整个场景和单个分支的Java3D对象的垃圾回收.实验证明,该方法能够及时释放Java3D对象占用的内存空间,避免内存溢出现象的发生,在一定程度上解决了Java对象垃圾回收不充分的问题. Three-dimensional scene constructed by Java3D takes up a lot of memory, which may lead to the memory overflow. It is necessary to reclaim the Java3D garbage after modifying the scene. However, the garbage reclaiming mechanism can not directly act on the Java3D object. Thus, two effective methods for garbage reclaiming of Java3D object were designed. The garbage reclaiming of Java3D object for whole scene and single branch is realized respectively. The experiments show that this method can release the memory possessed by Java3D object in time and avoid the memory overflow. The method solves the inadequate garbage reclaiming problem of Java object.
作者 黄有群 杜鹏
出处 《沈阳工业大学学报》 EI CAS 2009年第4期450-453,共4页 Journal of Shenyang University of Technology
基金 辽宁省科技厅科技攻关资助项目(2002216008)
关键词 虚拟现实 程序设计 面向对象 JAVA语言 Java3D软件 内存管理 垃圾回收 场景图 virtual reality program design oriented object Java Java3D memory management garbage reclaiming scene graph
  • 相关文献

参考文献11

二级参考文献20

  • 11,Java 3D Tutorial. (http://java.sun.com/product/java-media/java 3D). 被引量:1
  • 22,Sowizral H A, Rushforth K C, Deering M F. The Java 3D API Specification. Addison Wesley.Peeding.Mass,USA:1998. 被引量:1
  • 33,The Java 3D White Paper. (http://java.sun.com/product/java3D). 被引量:1
  • 4Dykstra,L.Srisa-an,W.Chang,J.M,''An analysis of the garbage collection performance in Sun's HotSpotTM Java Virtual Machine'',Performance,Computing,and Communications Conference,2002.21st IEEE International,Apr.03-05,2002,pp.335~339. 被引量:2
  • 5Chang,M.Woo Hyong Lee Hasan,Y.,''Measuring Dynamic Memory Invocations in Object-Oriented Programs'',Performance,Computing and Communications Conference,1999.IPCCC'99.IEEE International,Feb.10-12,1999,pp.268-274. 被引量:1
  • 6Srisa-an,W.Chang,J.M.Chia-Tien Dan Lo,''Do generational schemes improve the garbage collection efficiency'',Performance Analysis of Systems and Software,2000.ISPASS.2000 IEEE International Symposium,Apr.24-25,2000,pp.58~63. 被引量:1
  • 7StevenLHalter StevenJMunroe 许崇梅 张雪莲 等.Java技术精髓[M].北京:机械工业出版社,2002.2. 被引量:2
  • 8Shaw R A. Empirical Analysis of a Lisp System[D]. Stanlard : Stanford University, 1988. 被引量:1
  • 9Ungar D M,Jackson F. An adaptive tenuring policy for generation scavengers[J]. ACM Transactions on Programming Languages and System, 1992,14 ( 1 ) : 1 - 27. 被引量:1
  • 10Franz Inc. Allegro CL User Guide(Version 4.1)[M]. Ohio:Frang Inc Press, 1992. 被引量:1

共引文献22

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部