首页> 外国专利> Supporting per-program classpaths with class sharing in a multi-tasking virtual machine

Supporting per-program classpaths with class sharing in a multi-tasking virtual machine

机译:在多任务虚拟机中通过类共享支持按程序的类路径

摘要

System and method for supporting per-program classpath and class sharing in a multi-tasking virtual machine. A virtual machine may allow each program to specify its classpath independently of other programs classpaths. Tasks that specify identical classpaths for their respective class loaders may share the runtime representation of classes. A multi-tasking virtual machine may generate and compare canonical forms of classpaths to determine which programs may share classes with each other. The runtime representation of a class may be split between shared and private portions of the runtime representation. A shared runtime representation may be associated with multiple private runtime representations. In one embodiment, unique class loader keys and a system dictionary may be used to associate tasks, class loaders and the shared representations of classes.
机译:在多任务虚拟机中支持按程序的类路径和类共享的系统和方法。虚拟机可以允许每个程序独立于其他程序的类路径指定其类路径。为各自的类加载器指定相同的类路径的任务可以共享类的运行时表示。多任务虚拟机可以生成并比较类路径的规范形式,以确定哪些程序可以彼此共享类。类的运行时表示可以在运行时表示的共享部分和私有部分之间进行拆分。共享的运行时表示可以与多个私有运行时表示关联。在一个实施例中,唯一的类加载器键和系统字典可以用于关联任务,类加载器和类的共享表示。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号