发明名称 STACK OVERFLOW PREVENTION IN PARALLEL EXECUTION RUNTIME
摘要 <p>A parallel execution runtime prevents stack overflow by maintaining an inline counter for each thread executing tasks of a process. Each time that the runtime determines that inline execution of a task is desired on a thread, the runtime determines whether the inline counter for the corresponding thread indicates that stack overflow may occur. If not, the runtime increments the inline counter for the thread and allows the task to be executed inline. If the inline counter indicates a risk of stack overflow, then the runtime performs additional one or more checks using a previous stack pointer of the stack (i.e., a lowest known safe watermark), the current stack pointer, and memory boundaries of the stack. If the risk of stack overflow remains after all checks have been performed, the runtime prevents inline execution of the task.</p>
申请公布号 EP2585917(A2) 申请公布日期 2013.05.01
申请号 EP20110807220 申请日期 2011.06.10
申请人 MICROSOFT CORPORATION 发明人 YILDIZ, HUSEYIN S.;DUFFY, JOHN J.
分类号 G06F9/455;G06F9/48;G06F11/00 主分类号 G06F9/455
代理机构 代理人
主权项
地址