-
公开(公告)号:US20230136606A1
公开(公告)日:2023-05-04
申请号:US17518069
申请日:2021-11-03
发明人: Xiao Yan Tang , Naijie Li , Jing Lu , Ming Ran Liu , Yuan Zhai , Kershaw S. Mehta
摘要: Global variables are shared between programs associated with different addressing modes. A first program of an application records an allocated address to a global variable in a global variable sharing area (GVSA). The first program is associated with a first addressing mode. The first program specifies the global variable to be shared across different addressing modes. An address of the GVSA is passed to a second program of the application that is loaded after the first program has been loaded. The second program is associated with a second addressing mode different from the first addressing mode. The second program also specifies the global variable in the second program to be shared across different addressing modes. The second program retrieves the allocated address to the global variable from the GVSA based on the address of the GVSA. The second program accesses the global variable based on the retrieved allocated address.
-
公开(公告)号:US11500653B2
公开(公告)日:2022-11-15
申请号:US16782107
申请日:2020-02-05
发明人: Ming Ran Liu , Bao Zhang , Naijie Li , Jing Lu , Xiao Yan Tang , Kershaw S. Mehta
摘要: Techniques for signal handling between programs associated with different addressing modes in a computer system are described herein. An aspect includes, based on a signal occurring during execution of a first program in a first runtime environment, wherein the first program and the first runtime environment are associated with a first addressing mode, invoking a first signal exit routine associated with the first addressing mode. Another aspect includes allocating a signal information area (SIA) by the first signal exit routine. Another aspect includes calling a second signal exit routine associated with a second addressing mode that is different from the first addressing mode with an address of the SIA. Another aspect includes allocating a mirror SIA by the second signal exit routine. Another aspect includes handling the signal, and resuming execution based on the handling of the signal.
-
公开(公告)号:US11947993B2
公开(公告)日:2024-04-02
申请号:US17353945
申请日:2021-06-22
发明人: Ming Ran Liu , Jing Lu , Naijie Li , Xiao Yan Tang , Yuan Zhai , Kershaw S. Mehta
CPC分类号: G06F9/463 , G06F9/34 , G06F9/45508 , G06F9/544 , G06F9/546
摘要: A computer-implemented method includes creating a first file control block in a primary runtime environment with a first addressing mode and a second file control block in a secondary runtime environment with a second addressing mode, where both the first file control block and the second file control block describe a status of a first file of a caller program in the primary runtime environment. The parameters of the first file of the caller program in the primary runtime environment are passed to a target callee program in the secondary runtime environment. An anchor is added in the first file control block as a link to the second file control block. The first file control block are the second file control block synchronized with updates to the first file in the primary runtime environment and the passed parameters of the first file in the secondary runtime environment.
-
公开(公告)号:US11556356B1
公开(公告)日:2023-01-17
申请号:US17483776
申请日:2021-09-23
发明人: Naijie Li , Jing Lu , Xiao Yan Tang , Ming Ran Liu , Yuan Zhai , Kershaw S. Mehta
摘要: A call to an external interface to execute a target callee program associated with a first addressing mode in a secondary runtime environment (RTE) is received from a caller program associated with a second addressing mode running in a primary RTE. An address of a share area (SA) storing existing dynamic link object information in the primary RTE in storage is passed to the secondary RTE. The SA is accessible by both the caller program and the target callee program. In response to a request to load a dynamic link object by an initiating program during execution of the target callee program in the secondary RTE, an entry address of the dynamic link object is retrieved in the SA. The dynamic link object is loaded based on the retrieved entry address of the dynamic link object.
-
公开(公告)号:US11928460B2
公开(公告)日:2024-03-12
申请号:US17659864
申请日:2022-04-20
发明人: Jin Hong Fu , Bao Zhang , Shi Chong Ma , He Huang , Naijie Li , Jia Yu
IPC分类号: G06F9/44 , G06F8/658 , G06F9/30 , G06F12/02 , G06F12/0804
CPC分类号: G06F8/658 , G06F9/3009 , G06F12/0238 , G06F12/0804
摘要: Embodiments of the present disclosure relate to a method, system, and computer program product for dynamic update of a computer program in memory. According to the method, one or more processors obtain incremental information, the incremental information specifying an incremental update to at least one section of at least one target function in a computer program. One or more processors identify, based on the incremental information, the at least one target function to be updated from the computer program. One or more processors generate at least one updated copy of the at least one target function by updating the at least one section of the at least one target function based on the incremental information. One or more processors update the computer program based on the at least one updated copy of the at least one target function while the computer program is running.
-
公开(公告)号:US11675651B2
公开(公告)日:2023-06-13
申请号:US17198450
申请日:2021-03-11
发明人: Naijie Li , Bao Zhang , Jin Hong Fu , Jing Lu , Xiang Zu
CPC分类号: G06F11/0793 , G06F9/30065 , G06F9/3861 , G06F9/5016 , G06F11/0772
摘要: Methods, apparatus, computer program products for handling critical problem exceptions during an execution of an application are provided. The method comprises: detecting, by one or more processing units, an occurrence of a certain type of critical problem exception during an execution of an application, the critical problem exception resulting in a termination of the application; instructing, by one or more processing units, to call a Super Handling Routine (SHR) corresponding to the type of the critical problem exception at a pre-configured address based on a pre-determined context registered by the application, the SHR being configured to handle critical problem exceptions; and handing, by one or more processing units, control to the SHR to handle the type of the critical problem exception.
-
公开(公告)号:US11442739B2
公开(公告)日:2022-09-13
申请号:US16571592
申请日:2019-09-16
发明人: Ming Ran Liu , Bao Zhang , Naijie Li , Yuan Zhai , Sean Douglas Perry
摘要: Embodiments of the present disclosure relate to a method, system, and computer program product for exception handling. In some embodiments, a method is disclosed. According to the method, in response to an application throwing an exception, a target stack frame for handling the exception is detected from a call stack of the application. The call stack comprises a plurality of stack frames. One of the plurality of stack frames corresponds to a function called by the application and supports either a one-phase exception handling mechanism or a two-phase exception handling mechanism. In response to the target stack frame being detected from the call stack, the target stack frame is caused to handle the exception. In other embodiments, a system and a computer program product are disclosed.
-
公开(公告)号:US10977101B2
公开(公告)日:2021-04-13
申请号:US16217971
申请日:2018-12-12
发明人: Naijie Li , Bao Zhang , Jing Lu , Jin Hong Fu , Kershaw Mehta
IPC分类号: G06F9/54
摘要: Systems, methods, and computer-readable media are described for interoperability between programs associated with different addressing modes. A caller program associated with a first addressing mode (e.g., a 32-bit program or a 64-bit program) that is executing within a parent runtime environment makes a call to an external interface to execute a target callee program that is associated with a second addressing mode different from the first addressing mode. The target callee program is then executed in a pre-initialized secondary runtime environment that executes on the same task or thread as the parent runtime environment.
-
公开(公告)号:US20240232098A9
公开(公告)日:2024-07-11
申请号:US17970122
申请日:2022-10-20
发明人: Naijie Li , Dong Hui Liu , Jing Lu , Peng Hui Jiang , Xiao Yan Tang , Bao Zhang , Yong Yin , Jun Su , Jia Yu
IPC分类号: G06F12/1027 , G06N20/00
CPC分类号: G06F12/1027 , G06N20/00 , G06F2212/684
摘要: A method, including: identifying static application features of an application; identifying resource access features of the application; labeling a translation lookaside buffer (TLB) miss threshold of a runtime feature of the application; determining utilization of larger pages during the runtime based on the TLB miss threshold; and setting the TLB miss threshold based on the determined utilization of the larger pages.
-
公开(公告)号:US20240211409A1
公开(公告)日:2024-06-27
申请号:US18085706
申请日:2022-12-21
发明人: Dong Hui Liu , Jing Lu , Peng Hui Jiang , Naijie Li , Xiao Yan Tang , Bao Zhang , Jun Su , Yong Yin , Jia Yu
IPC分类号: G06F12/1009 , G06F12/0882 , G06F12/1027
CPC分类号: G06F12/1009 , G06F12/0882 , G06F12/1027
摘要: A method, including: monitoring resource utilization of an operating system (OS) with applications utilizing larger pages; determining the monitored resource utilization is greater than a threshold resource utilization; in response to the determining the monitored resource utilization is greater than a threshold resource utilization, determining a respective larger pages index value for each of the applications utilizing larger pages; and turning off larger pages utilization of a subset of the applications utilizing larger pages, wherein the subset comprises a predefined number of the applications utilizing larger pages that have highest determined larger pages index values.
-
-
-
-
-
-
-
-
-