首页> 外国专利> Global constant pool to allow deletion of constant pool entries

Global constant pool to allow deletion of constant pool entries

机译:全局常量池允许删除常量池条目

摘要

A method and apparatus for reducing runtime memory requirements of a virtual machine. The invention involves analyzing object code compiled from source code. The object code includes at least two load-units that each contain a load-unit specific constant pool. Each load-unit is analyzed to determine which constants are actual constants and then those actual constants are analyzed to determine where commonality exists among the load-units. If a constant is determined to be redundant it is rewritten to a global constant pool. The references to the constant in the load-unit specific constant pool are rewritten to point to the value in the global constant pool. The memory allocated to the constant in the individual load-unit is then reallocated, either by a programmed routine or by memory management tools.
机译:一种用于减少虚拟机的运行时存储器需求的方法和装置。本发明涉及分析从源代码编译的目标代码。目标代码包括至少两个负载单元,每个负载单元包含一个特定于负载单元的常量池。分析每个载荷单元以确定哪些常数是实际常数,然后分析那些实际常数以确定载荷单元之间的通用性。如果确定常量为冗余,则将其重写为全局常量池。重写对特定于负载单位的常量池中的常量的引用,以指向全局常量池中的值。然后,可以通过编程的例程或内存管理工具重新分配分配给各个负载单元中的常数的内存。

著录项

  • 公开/公告号US2003172194A1

    专利类型

  • 公开/公告日2003-09-11

    原文格式PDF

  • 申请/专利权人 PLUMMER WAYNE;KRAMSKOY JERRY;

    申请/专利号US20030203123

  • 发明设计人 JERRY KRAMSKOY;WAYNE PLUMMER;

    申请日2003-03-07

  • 分类号G06F9/44;

  • 国家 US

  • 入库时间 2022-08-22 00:11:56

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号