首页> 外国专利> METHOD AND APPARATUS FOR LOADING CLASSES AND RE-ORGANIZING CLASS ARCHIVES

METHOD AND APPARATUS FOR LOADING CLASSES AND RE-ORGANIZING CLASS ARCHIVES

机译:加载类和重新组织类档案的方法和装置

摘要

A method and apparatus for loading classes to virtual machines and a method and apparatus for reorganizing class archives. The method for loading a class to a virtual machine includes organizing a class archive before class loading such that the organized class archive includes a class contraction portion and loading only the class contraction portion of the class archive to the virtual machine at the moment of class loading. By first loading the class contraction portion from the organized class archive to the virtual machine at the moment of loading, the present invention curtails code redundancy, shortens loading time and reduces occupied memory resources.
机译:用于将类加载到虚拟机的方法和装置以及用于重新组织类档案的方法和装置。用于将类加载到虚拟机的方法包括:在类加载之前组织类存档,以使组织的类存档包括类收缩部分;在类加载时仅将类存档的类收缩部分加载到虚拟机。通过在加载时首先从组织的类档案库中将类压缩部分加载到虚拟机,本发明减少了代码冗余,缩短了加载时间并减少了占用的存储器资源。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号