Loop control flow diversion
    3.
    发明授权
    Loop control flow diversion 有权
    回路控制流分流

    公开(公告)号:US08887142B2

    公开(公告)日:2014-11-11

    申请号:US12720788

    申请日:2010-03-10

    IPC分类号: G06F9/44 G06F9/38 G06F9/32

    摘要: Loop control flow diversion supports thread synchronization, garbage collection, and other situations involving suspension of long-running loops. Divertible loops have a loop body, a loop top, an indirection cell containing a loop top address, and a loop jump instruction sequence which references the indirection cell. In normal execution, control flows through the indirection cell to the loop top. After the indirection cell is altered, however, execution flow is diverted to a point away from the loop top. Operations such as garbage collection are performed while the loop (and hence the thread(s) using the loop) is thus diverted. The kernel or another thread then restores the loop top address into the indirection cell, and execution flow again continues through the restored indirection cell to the loop top.

    摘要翻译: 循环控制流转移支持线程同步,垃圾回收等涉及长时间运行循环中断的情况。 可逆循环具有循环体,循环顶部,包含循环顶部地址的间接单元以及引用间接单元的循环跳转指令序列。 在正常执行中,控制通过间接单元流向循环顶部。 然而,在间接单元被改变之后,执行流程被转移到远离循环顶部的点。 在循环(因此使用循环的线程))因此被转移时执行诸如垃圾收集的操作。 内核或另一个线程然后将循环顶部地址恢复到间接单元中,并且执行流程再次通过恢复的间接单元继续到循环顶部。

    LOOP CONTROL FLOW DIVERSION
    4.
    发明申请
    LOOP CONTROL FLOW DIVERSION 有权
    环路控制流量分流

    公开(公告)号:US20110225213A1

    公开(公告)日:2011-09-15

    申请号:US12720788

    申请日:2010-03-10

    IPC分类号: G06F9/45 G06F17/30

    摘要: Loop control flow diversion supports thread synchronization, garbage collection, and other situations involving suspension of long-running loops. Divertible loops have a loop body, a loop top, an indirection cell containing a loop top address, and a loop jump instruction sequence which references the indirection cell. In normal execution, control flows through the indirection cell to the loop top. After the indirection cell is altered, however, execution flow is diverted to a point away from the loop top. Operations such as garbage collection are performed while the loop (and hence the thread(s) using the loop) is thus diverted. The kernel or another thread then restores the loop top address into the indirection cell, and execution flow again continues through the restored indirection cell to the loop top.

    摘要翻译: 循环控制流转移支持线程同步,垃圾回收等涉及长时间运行循环中断的情况。 可逆循环具有循环体,循环顶部,包含循环顶部地址的间接单元以及引用间接单元的循环跳转指令序列。 在正常执行中,控制通过间接单元流向循环顶部。 然而,在间接单元被改变之后,执行流程被转移到远离循环顶部的点。 在循环(因此使用循环的线程))因此被转移时执行诸如垃圾收集的操作。 内核或另一个线程然后将循环顶部地址恢复到间接单元中,并且执行流程再次通过恢复的间接单元继续到循环顶部。