Method and apparatus for hardware data speculation to support memory optimizations
    1.
    发明申请
    Method and apparatus for hardware data speculation to support memory optimizations 审中-公开
    用于硬件数据推测以支持内存优化的方法和装置

    公开(公告)号:US20050055516A1

    公开(公告)日:2005-03-10

    申请号:US10658897

    申请日:2003-09-10

    IPC分类号: G06F9/38 G06F9/45 G06F12/00

    摘要: According to one embodiment a computer method and apparatus for causing a computer to perform a speculative read re-ordered load is disclosed. A speculative read re-ordered load instruction is inserted into the instruction sequence to optimize the code. Memory conflict information representing the speculative read re-ordered load is stored. When a later potentially conflicting load is executed, its physical address is matched against the physical address of the stored memory conflict information. If the potentially conflicting load has a matching physical address and a different value than the stored memory conflict information representing the speculative read re-ordered load, then the stored memory conflict information is invalidated.

    摘要翻译: 根据一个实施例,公开了一种用于使计算机执行推测读取重新排序的负载的计算机方法和装置。 在指令序列中插入推测读取重新加载指令以优化代码。 存储表示推测读取重新排序负载的内存冲突信息。 当稍后的潜在冲突的负载被执行时,其物理地址与存储的存储器冲突信息的物理地址相匹配。 如果潜在的冲突负载具有与存储的表示推测读取重新排序的负载的存储器冲突信息相匹配的物理地址和不同的值,则存储的存储器冲突信息无效。

    Thread synchronization via selective modification of stored states of pending optimistically balanced lock releases having previous lock owner and validity flag
    3.
    发明授权
    Thread synchronization via selective modification of stored states of pending optimistically balanced lock releases having previous lock owner and validity flag 失效
    线程同步,通过选择性地修改存在状态的未决乐观平衡锁释放,具有先前的锁拥有者和有效性标志

    公开(公告)号:US08136112B2

    公开(公告)日:2012-03-13

    申请号:US12559254

    申请日:2009-09-14

    IPC分类号: G06F9/46 G06F12/00 G06F17/30

    CPC分类号: G06F9/52 Y10S707/99938

    摘要: Thread synchronization methods and apparatus for managed run-time environments are disclosed. An example method to maintain state information for optimistically balanced synchronization of a lock of an object in a managed runtime environment disclosed herein comprises storing state information comprising a state of each pending optimistically balanced release operation corresponding to each pending optimistically balanced synchronization to be performed on the lock of the object, each pending optimistically balanced synchronization comprising respective paired acquisition and release operations between which an unknown number of unpaired locking operations are to occur, and modifying a first stored state of a first pending optimistically balanced release operation when a subsequent unpaired locking operation is performed on the lock, but not modifying any stored state of any pending optimistically balanced release, including the first stored state of a first pending optimistically balanced release operation, when a subsequent optimistically balanced synchronization is performed on the lock.

    摘要翻译: 公开了用于管理的运行时环境的线程同步方法和装置。 维护用于在本文公开的受管运行时环境中的对象的锁的乐观平衡同步的状态信息的示例性方法包括:存储状态信息,其包括对应于将在所述待执行的乐观平衡同步上执行的每个未决乐观平衡释放操作的状态 对象的锁定,每个待处理的乐观平衡的同步包括将在其间发生未知数量的未配对锁定操作的相应的配对采集和释放操作,以及当后续的未配对锁定操作时修改第一暂存乐观平衡释放操作的第一存储状态 在锁上执行,但是当执行后续乐观平衡的同步时,不会修改任何未决的乐观平衡释放的任何存储状态,包括第一暂存乐观平衡释放操作的第一存储状态 在锁上。

    Thread synchronization methods and apparatus for managed run-time environments
    4.
    发明授权
    Thread synchronization methods and apparatus for managed run-time environments 有权
    管理运行时环境的线程同步方法和设备

    公开(公告)号:US08302099B2

    公开(公告)日:2012-10-30

    申请号:US13412591

    申请日:2012-03-05

    IPC分类号: G06F9/46 G06F12/00 G06F17/30

    CPC分类号: G06F9/52 Y10S707/99938

    摘要: A example method disclosed herein comprises initiating a first optimistically balanced synchronization to acquire a lock of an object, the first optimistically balanced synchronization comprising a first optimistically balanced acquisition and a first optimistically balanced release to be performed on the lock by a same thread and at a same nesting level, releasing the lock after execution of program code covered by the lock if a stored state of the first optimistically balanced release indicates that the first optimistically balanced release is still valid, the stored state of the first optimistically balanced release being initialized prior to execution of the program code to indicate that the first optimistically balanced release is valid, and throwing an exception after execution of the program code covered by the lock if the stored state of the first optimistically balanced release indicates that the first optimistically balanced release is no longer valid.

    摘要翻译: 本文公开的示例性方法包括启动第一乐观平衡同步以获取对象的锁定,所述第一乐观平衡同步包括第一乐观平衡采集和第一乐观平衡释放,以通过相同线程在锁上执行 相同的嵌套级别,如果第一乐观平衡版本的存储状态指示第一乐观平衡版本仍然有效,则在执行锁定所涵盖的程序代码之后释放锁定,则第一乐观平衡版本的存储状态在 程序代码的执行以指示第一乐观平衡版本是有效的,并且如果第一乐观平衡版本的存储状态指示第一乐观平衡版本不再存在,则在执行锁定所涵盖的程序代码之后抛出异常 有效。

    THREAD SYNCHRONIZATION METHODS AND APPARATUS FOR MANAGED RUN-TIME ENVIRONMENTS
    5.
    发明申请
    THREAD SYNCHRONIZATION METHODS AND APPARATUS FOR MANAGED RUN-TIME ENVIRONMENTS 有权
    线程同步方法和管理运行环境的设备

    公开(公告)号:US20120167106A1

    公开(公告)日:2012-06-28

    申请号:US13412591

    申请日:2012-03-05

    IPC分类号: G06F9/46 G06F12/00

    CPC分类号: G06F9/52 Y10S707/99938

    摘要: A example method disclosed herein comprises initiating a first optimistically balanced synchronization to acquire a lock of an object, the first optimistically balanced synchronization comprising a first optimistically balanced acquisition and a first optimistically balanced release to be performed on the lock by a same thread and at a same nesting level, releasing the lock after execution of program code covered by the lock if a stored state of the first optimistically balanced release indicates that the first optimistically balanced release is still valid, the stored state of the first optimistically balanced release being initialized prior to execution of the program code to indicate that the first optimistically balanced release is valid, and throwing an exception after execution of the program code covered by the lock if the stored state of the first optimistically balanced release indicates that the first optimistically balanced release is no longer valid.

    摘要翻译: 本文公开的示例性方法包括启动第一乐观平衡同步以获取对象的锁定,所述第一乐观平衡同步包括第一乐观平衡采集和第一乐观平衡释放,以通过相同线程在锁上执行 相同的嵌套级别,如果第一乐观平衡版本的存储状态指示第一乐观平衡版本仍然有效,则在执行锁定所涵盖的程序代码之后释放锁定,则第一乐观平衡版本的存储状态在 程序代码的执行以指示第一乐观平衡版本是有效的,并且如果第一乐观平衡版本的存储状态指示第一乐观平衡版本不再存在,则在执行锁定所涵盖的程序代码之后抛出异常 有效。

    THREAD SYNCHRONIZATION METHODS AND APPARATUS FOR MANAGED RUN-TIME ENVIRONMENTS
    6.
    发明申请
    THREAD SYNCHRONIZATION METHODS AND APPARATUS FOR MANAGED RUN-TIME ENVIRONMENTS 失效
    用于管理运行环境的线程同步方法和设备

    公开(公告)号:US20100005467A1

    公开(公告)日:2010-01-07

    申请号:US12559254

    申请日:2009-09-14

    IPC分类号: G06F9/46 G06F12/00

    CPC分类号: G06F9/52 Y10S707/99938

    摘要: Thread synchronization methods and apparatus for managed run-time environments are disclosed. An example method to maintain state information for optimistically balanced synchronization of a lock of an object in a managed runtime environment disclosed herein comprises storing state information comprising a state of each pending optimistically balanced release operation corresponding to each pending optimistically balanced synchronization to be performed on the lock of the object, each pending optimistically balanced synchronization comprising respective paired acquisition and release operations between which an unknown number of unpaired locking operations are to occur, and modifying a first stored state of a first pending optimistically balanced release operation when a subsequent unpaired locking operation is performed on the lock, but not modifying any stored state of any pending optimistically balanced release, including the first stored state of a first pending optimistically balanced release operation, when a subsequent optimistically balanced synchronization is performed on the lock.

    摘要翻译: 公开了用于管理的运行时环境的线程同步方法和装置。 维护用于在本文公开的受管运行时环境中的对象的锁的乐观平衡同步的状态信息的示例性方法包括:存储状态信息,其包括对应于将在所述待执行的乐观平衡同步上执行的每个未决乐观平衡释放操作的状态 对象的锁定,每个待处理的乐观平衡的同步包括将在其间发生未知数量的未配对锁定操作的相应的配对采集和释放操作,以及当后续的未配对锁定操作时修改第一暂存乐观平衡释放操作的第一存储状态 在锁上执行,但是当执行后续乐观平衡的同步时,不会修改任何未决的乐观平衡释放的任何存储状态,包括第一暂存乐观平衡释放操作的第一存储状态 在锁上。

    Thread synchronization methods and apparatus for managed run-time environments
    7.
    发明授权
    Thread synchronization methods and apparatus for managed run-time environments 失效
    管理运行时环境的线程同步方法和设备

    公开(公告)号:US07610585B2

    公开(公告)日:2009-10-27

    申请号:US10860692

    申请日:2004-06-03

    IPC分类号: G06F9/46 G06F12/00 G06F17/30

    CPC分类号: G06F9/52 Y10S707/99938

    摘要: Thread synchronization methods and apparatus for managed run-time environments are disclosed. An example method disclosed herein comprises determining a set of locking operations to perform on a lock corresponding to an object, performing an initial locking operation comprising at least one of a balanced synchronization of the lock and an optimistically balanced synchronization of the lock if the initial locking operation is not unbalanced, and, if the initial locking operation is active and comprises the optimistically balanced synchronization, further comprising modifying a state of a pending optimistically balanced release corresponding to the optimistically balanced synchronization if a subsequent locking operation is unbalanced.

    摘要翻译: 公开了用于管理的运行时环境的线程同步方法和装置。 本文公开的示例性方法包括确定一组锁定操作以对对应于对象的锁执行,执行包括锁的平衡同步和锁的乐观平衡同步中的至少一个的初始锁定操作,如果初始锁定 并且如果初始锁定操作是活动的并且包括乐观平衡的同步,则还包括如果随后的锁定操作不平衡,则修改对应于乐观平衡同步的未决乐观平衡释放的状态。

    Thread synchronization methods and apparatus for managed run-time environments
    8.
    发明申请
    Thread synchronization methods and apparatus for managed run-time environments 失效
    管理运行时环境的线程同步方法和设备

    公开(公告)号:US20050273782A1

    公开(公告)日:2005-12-08

    申请号:US10860692

    申请日:2004-06-03

    IPC分类号: G06F9/46

    CPC分类号: G06F9/52 Y10S707/99938

    摘要: Thread synchronization methods and apparatus for managed run-time environments are disclosed. An example method disclosed herein comprises determining a set of locking operations to perform on a lock corresponding to an object, performing an initial locking operation comprising at least one of a balanced synchronization of the lock and an optimistically balanced synchronization of the lock if the initial locking operation is not unbalanced, and, if the initial locking operation is active and comprises the optimistically balanced synchronization, further comprising modifying a state of a pending optimistically balanced release corresponding to the optimistically balanced synchronization if a subsequent locking operation is unbalanced.

    摘要翻译: 公开了用于管理的运行时环境的线程同步方法和装置。 本文公开的示例性方法包括确定一组锁定操作以对对应于对象的锁执行,执行包括锁的平衡同步和锁的乐观平衡同步中的至少一个的初始锁定操作,如果初始锁定 并且如果初始锁定操作是活动的并且包括乐观平衡的同步,则还包括如果随后的锁定操作不平衡,则修改对应于乐观平衡同步的未决乐观平衡释放的状态。