发明名称 METHOD AND APPARATUS FOR EFFICIENTLY TRACKING MONITORS
摘要 <p>Methods and apparatus for enabling the association between a monitor and an object to be maintained when a garbage collection occurs during a wait action performed with respect to the object are disclosed. According to one aspect of the present invention, a method for acquiring access to an object in a multi-threaded, object-based system includes associating a monitor with the object, and setting a pointer from a thread, which is arranged to execute on the object, to the object. The method also includes setting a reference substantially directly from the thread to the monitor. In one embodiment, setting the reference includes setting a boolean reference count. In another embodiment, setting the reference enables a garbage collector to determine whether the monitor is suitable for reclamation during a garbage collection process.</p>
申请公布号 EP1356376(B1) 申请公布日期 2015.09.09
申请号 EP20010945959 申请日期 2001.05.16
申请人 ORACLE AMERICA, INC. 发明人 LONG, DEAN, R., E.;FRESKO, NEDIM
分类号 G06F9/52;G06F9/46 主分类号 G06F9/52
代理机构 代理人
主权项
地址