发明名称 System and method for facilitating safepoint synchronization in a multithreaded computer system
摘要 Methods and apparatus for facilitating a global safepoint operation in a multithreaded computer system are disclosed. According to one aspect of the present invention, each thread keeps track of its safepoint regions by maintaining a variable which indicates a state, such as whether the current region of the thread is safe, unsafe, or transitional. In this manner, it can be determined whether a thread is currently in a safepoint region without suspending the thread. When a thread is currently in a safepoint region, the thread can continue to operate while a global safepoint operation, such as garbage-collection is being performed. When the thread begins to transition out of the safe region, it moves into a transitional region. The transitional region automatically blocks the transition into the non-safe region to assure that the safepoint operation occurs in a safe region.
申请公布号 US6523059(B1) 申请公布日期 2003.02.18
申请号 US19980206810 申请日期 1998.12.07
申请人 SUN MICROSYSTEMS, INC. 发明人 SCHMIDT RENE W.
分类号 G06F9/46;(IPC1-7):G06F9/40 主分类号 G06F9/46
代理机构 代理人
主权项
地址