发明名称 Method and apparatus for efficiently tracking monitors
摘要 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.
申请公布号 US2002129079(A1) 申请公布日期 2002.09.12
申请号 US20010802627 申请日期 2001.03.08
申请人 SUN MICROSYSTEMS, INC. 发明人 LONG DEAN R.E.;FRESKO NEDIM
分类号 G06F9/46;(IPC1-7):G06F9/00 主分类号 G06F9/46
代理机构 代理人
主权项
地址