会员体验
专利管家(专利管理)
工作空间(专利管理)
风险监控(情报监控)
数据分析(专利分析)
侵权分析(诉讼无效)
联系我们
交流群
官方交流:
QQ群: 891211   
微信请扫码    >>>
现在联系顾问~
热词
    • 90. 发明授权
    • Method of run-time tracking of object references in Java programs
    • Java程序中对象引用的运行时跟踪方法
    • US06317869B1
    • 2001-11-13
    • US09587233
    • 2000-06-02
    • Ali-Reza Adl-TabatabaiGuei-Yuan Lueh
    • Ali-Reza Adl-TabatabaiGuei-Yuan Lueh
    • G06F944
    • G06F9/45516G06F12/0253Y10S707/99953Y10S707/99957
    • Many programming languages utilize reference pointers in computer code. Furthermore, some of these programming languages perform memory management in the form of garbage collection. Once such language is Java. During the execution of a garbage collection routine, the computer may need to locate all the variables containing reference values. The present invention introduces a method for run-time tracking of object references in computer code and determining which variables contain references to objects at garbage collection sites. The method of the present invention first creates a bit vector in memory. The bit vector is then initialized. Second, each variable declared in the computer program that may be used to store a reference value is assigned a unique bit within this bit vector. Each bit is maintained to indicate whether the variable it is assigned to is currently storing a reference value. Specifically, when a variable is assigned a reference value, the corresponding bit in the bit vector is set. When a variable is assigned a non-reference value, the corresponding bit in the bit vector is cleared.
    • 许多编程语言都使用计算机代码中的参考指针。 此外,这些编程语言中的一些以垃圾收集的形式执行内存管理。 一旦这样的语言是Java。 在执行垃圾回收程序期间,计算机可能需要定位包含引用值的所有变量。 本发明引入了一种用于计算机代码中对象引用的运行时跟踪的方法,并且确定哪些变量包含对垃圾收集站点上的对象的引用。 本发明的方法首先在存储器中产生位向量。 然后初始化位向量。 第二,在计算机程序中声明的可用于存储参考值的每个变量在该位向量中被分配一个唯一的位。 维持每个位以指示其被分配的变量当前是否存储参考值。 具体地说,当变量被赋予参考值时,位向量中的相应位被置位。 当变量分配了非参考值时,位向量中的相应位将被清除。