发明名称 Instrumenting streamed classes
摘要 A system and method for processing streamed elements to be passed to a virtual machine receives the streamed element in an input stream, processes the streamed element, stores the processed streamed element in a buffer, and notifies the virtual machine that the streamed element is available. Examples of streamed elements include, without limitation, classes, archive files and resources. Processing a class may include instrumenting the class with enhanced functionality. A method of instrumenting includes replacing a class reference or other constant in a constant pool of the received class with another reference or constant in accordance with a map array. Processing a resource may include converting the received resource to another format or analyzing the resource for particular characteristics. Notification of the availability of a received stream element can be made in response to a request from the virtual machine, if the requested class is available in a cache or buffer. Alternately, if the streamed resource is not yet storedin the cache or buffer, the virtual machine can be notified when the requested stream element is eventually received. Execution of a Java program by a virtual machine can occur before all required streamed elements in an archive file are received by a class loader. A pending request queue is maintained to keep track of unfulfilled virtual machine requests.
申请公布号 AU3346400(A) 申请公布日期 2000.08.25
申请号 AU20000033464 申请日期 2000.01.18
申请人 CYRUS INTERSOFT, INC. 发明人 JUSTIN F. CHAPWESKE;KEVIN D. HERRBOLDT
分类号 G06F9/445 主分类号 G06F9/445
代理机构 代理人
主权项
地址