期刊文献+

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

  • 1淮永建,郝重阳.面向VR应用系统的Java3D API[J].中国图象图形学报(A辑),2000,5(12):1044-1048. 被引量:15
  • 2黄有群,邱雪梅,张富勇.用碰撞检测实现三维烟雾蔓延的可视化仿真[J].沈阳工业大学学报,2006,28(4):418-421. 被引量:2
  • 3Tolga C,Wang Y J, Wang Y F, et al. Fast protein visualization using Java3D [EB/OL]. USA: University of California, 2003 [2008 - 07 - 21 ]. http://www. ceng. metu. edu. tr/ - tcan/fpv/tcanSAC03, pdf.
  • 4Jung D H, Bae S H, Lee J, et al. Supporting precise garbage collection in Java Bytecode-to-C ahead-of- time compiler for embedded systems [ C ]//International Conference on Compilers. South Korea:Association for Computing Machinery,2006:35 -42.
  • 5Muthukumar R M, Janakiram D. A scalable generational garbage collector for Java in multiprocessor systems[J].IEEE Transactions on Parallel and Distributed Systems ,2006,17 ( 2 ) : 148 - 159.
  • 6Roqov S V, Kirillin, Viacheslav A, et al. Optimization of java virtual machine with safe-point garbage collection [ C ]//2006 IEEE Tenth International Symposium on Consumer Electronics, Russia: Institute of Electrical and Electronics Engineers Inc,2006:395 -399.
  • 7池炜成.Java垃圾收集的机制及调优[J].计算机应用研究,2004,21(3):144-148. 被引量:4
  • 8肖德宝,李伟,彭菲,陈健明.改进的自适应分代式垃圾收集[J].华中师范大学学报(自然科学版),2005,39(4):461-465. 被引量:1
  • 9吕爱民,何钦铭.Java虚拟机垃圾收集器的性能分析与调节[J].计算机应用与软件,2004,21(10):110-112. 被引量:5
  • 10蒋顺亮.用Java3D进行三维实体上计算结果的展示.计算机应用,2003,23(8):171-174.

二级参考文献20

  • 11,Java 3D Tutorial. (http://java.sun.com/product/java-media/java 3D).
  • 22,Sowizral H A, Rushforth K C, Deering M F. The Java 3D API Specification. Addison Wesley.Peeding.Mass,USA:1998.
  • 33,The Java 3D White Paper. (http://java.sun.com/product/java3D).
  • 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.
  • 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.
  • 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.
  • 7StevenLHalter StevenJMunroe 许崇梅 张雪莲 等.Java技术精髓[M].北京:机械工业出版社,2002.2.
  • 8Shaw R A. Empirical Analysis of a Lisp System[D]. Stanlard : Stanford University, 1988.
  • 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.
  • 10Franz Inc. Allegro CL User Guide(Version 4.1)[M]. Ohio:Frang Inc Press, 1992.

共引文献22

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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