发明名称 EFFICIENT PER-THREAD SAFEPOINTS AND LOCAL ACCESS
摘要 Some embodiments of the present invention provide a system that implements a safepoint for a thread, which includes a compiler and a runtime environment. During compilation of an application to be executed by the thread, the compiler obtains a register to be associated with the thread and inserts safepoint code into the application, wherein the safepoint code includes an indirect load from a memory location stored in the register to the register. During execution of the application by the thread, the runtime environment writes a thread-specific value for the thread to the register, wherein the thread-specific value corresponds to an enabled value, a triggered value, or a disabled value. In these embodiments, executing the indirect load by the thread causes the thread to trap if the thread-specific value corresponds to the triggered value.
申请公布号 US2010192139(A1) 申请公布日期 2010.07.29
申请号 US20090359114 申请日期 2009.01.23
申请人 SUN MICROSYSTEMS, INC. 发明人 TITZER BENJAMIN L.;MATHISKE BERND J. W.;MANIVANNAN KARTHIKEYAN
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址