ACHIEVING COHERENCE BETWEEN DYNAMICALLY OPTIMIZED CODE AND ORIGINAL CODE
    10.
    发明申请
    ACHIEVING COHERENCE BETWEEN DYNAMICALLY OPTIMIZED CODE AND ORIGINAL CODE 有权
    实现动态优化代码与原始代码之间的一致性

    公开(公告)号:US20090150335A1

    公开(公告)日:2009-06-11

    申请号:US11951614

    申请日:2007-12-06

    IPC分类号: G06F7/00 G06F17/30

    CPC分类号: G06F12/1027 G06F12/0875

    摘要: An apparatus comprising a first search logic to search for a first entry for a first page containing a first code region in a first data structure to determine whether a first indicator in the first entry is set to a first value; an adder logic to add the first entry to the first data structure, in response to failing to find the first entry in the first data structure; a second search logic to search for a second entry for the first code region in a second data structure, in response to determining that the first indicator is set to the first value, wherein one or more optimized code regions corresponding to the first page from a code cache are to be removed in response to determining that the first page may have been modified, and wherein the first indicator is to be set to a second value.

    摘要翻译: 一种装置,包括:第一搜索逻辑,用于搜索包含第一数据结构中的第一代码区域的第一页面的第一条目,以确定第一条目中的第一指示符是否被设置为第一值; 响应于未能找到第一数据结构中的第一条目而将第一条目添加到第一数据结构的加法器逻辑; 响应于确定所述第一指示符被设置为所述第一值,搜索第二数据结构中的所述第一代码区域的第二条目的第二搜索逻辑,其中对应于来自第一值的第一页的一个或多个优化代码区域 响应于确定第一页面可能被修改而要删除代码高速缓存,并且其中第一指示符将被设置为第二值。