发明名称 Method and apparatus for encoding and decoding delta encoded information to locate live pointers in program data stacks
摘要 Live pointer information for a stream of bytecodes is precomputed for each bytecode. The precomputed full live pointer information is stored only for bytecodes at predetermined intervals in the stream. Between the bytecodes for which full live pointer information is stored, changes in the live pointer information produced by each bytecode are encoded using a suitable compressive coding and stored. Later, when a program which needs the live pointer information, such as garbage collection, is initiated, the full live pointer information for the nearest bytecode preceding the desired bytecode boundary is retrieved along with the intervening coded changes. The changes are decoded and applied to the retrieved live pointer information to generate the live pointer information at the desired bytecode boundary. In one embodiment of the invention, the live pointer changes are delta encoded so that each code contains information relating to the live pointer changes produced by a bytecode from the live pointer information as modified by the previous delta code. In another embodiment of the invention, the delta coded changes are encoded with a Huffman encoding scheme.
申请公布号 US5909579(A) 申请公布日期 1999.06.01
申请号 US19970847770 申请日期 1997.04.23
申请人 SUN MICROSYSTEMS, INC. 发明人 AGESEN, OLE;UNGAR, DAVID
分类号 G06F12/02;H03M3/02;(IPC1-7):G06B9/44 主分类号 G06F12/02
代理机构 代理人
主权项
地址