发明名称 |
Copy-on-write optimization of immutable objects for objects oriented languages |
摘要 |
A computer implemented method, apparatus, and computer program product for copy-on-write optimization of immutable objects. An immutable object is marked as read-only to form a read-only object. The read-only object is formed to delay copying of the immutable object until a runtime determination is made that a write to the immutable object will be made. In response to an attempt to write to the read-only object, an internal value of the read-only object is copied to read-and-write storage using runtime information to form a writable copy of the read-only object. A set of references for the read-only object is updated to point to the writable copy of the read-only object. Delaying copying of the immutable object optimizes a copy-on-write of the immutable object. |
申请公布号 |
US8281293(B2) |
申请公布日期 |
2012.10.02 |
申请号 |
US20070782148 |
申请日期 |
2007.07.24 |
申请人 |
FULTON MIKE STEPHEN;GRCEVSKI NIKOLA;INGLIS DEREK BRUCE;INTERNATIONAL BUSINESS MACHINES CORPORATION |
发明人 |
FULTON MIKE STEPHEN;GRCEVSKI NIKOLA;INGLIS DEREK BRUCE |
分类号 |
G06F9/45;G06F9/44;G06F12/00;G06F13/00 |
主分类号 |
G06F9/45 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|