发明名称 METHOD, COMPUTER PROGRAM PRODUCT, AND SYSTEM FOR NON-BLOCKING DYNAMIC UPDATE OF STATICALLY TYPED CLASS-BASED OBJECT-ORIENTED SOFTWARE
摘要 Under the present invention, a method, computer program product, and system for non-blocking dynamic update of statically-typed class-based object-oriented software executing as byte-code on a virtual machine within an actively running computer system is provided. A set of objects instantiated from an existing module or multiple modules (identifiable collections of application resources and class definitions in the form of byte-code representations) is ready for execution on a virtual machine in an actively running computer system. New versions of one or more modules corresponding to those already loaded into the actively running virtual machine are dynamically loaded into the virtual machine for the purpose of updating the running software. The class definitions within the loaded modules are prepared for dynamic update by inserting byte-code that enables; transparent state transfer and shared object identity between objects of a former version and the new version of a class. On the event of a software update, the objects instantiated from a former version of an updated class become un-initialized surrogate objects with the potential to redirect to their future corresponding objects. Corresponding objects are created lazily on first access of the declaring class members. Besides lazy redirection of the behavior of objects and classes, non-blocking dynamic update is achieved by lazy migration of the state of former objects and classes while locking on a temporary field access lock. Thus, the algorithm for controlling field access and state migration is completely lock-free both before and after state migration; hence the performance degradation is minimal. Finally, any unreferenced objects are removed from memory.
申请公布号 US2011283256(A1) 申请公布日期 2011.11.17
申请号 US201013130524 申请日期 2010.11.16
申请人 RAUNDAHL GREGERSEN ALLAN;RASMUSSEN MICHAEL;NORREGAARD JORGENSEN BO;SYDDANSK UNIVERSITET 发明人 RAUNDAHL GREGERSEN ALLAN;RASMUSSEN MICHAEL;NORREGAARD JORGENSEN BO
分类号 G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项
地址
您可能感兴趣的专利