-
公开(公告)号:US11294695B2
公开(公告)日:2022-04-05
申请号:US16885716
申请日:2020-05-28
Applicant: International Business Machines Corporation
Inventor: Xiao Yan Tang , Naijie Li , Jing Lu , Ming Ran Liu , Kershaw S. Mehta
Abstract: A computer-implemented method for termination of programs associated with different addressing modes includes receiving a call to an external interface to execute a target callee program from a caller program executing in a primary runtime environment. The external interface allocates an interoperability term area (ITA) in a primary runtime environment. The ITA is accessible by the primary runtime environment and a secondary runtime environment. The external interface executes the target callee program in the secondary runtime environment. The target callee program sets a termination reason parameter in the ITA. In response to the target callee program setting the termination reason parameter, a termination action in the primary runtime environment is performed. Various other methods, systems, and computer-readable media are also disclosed.
-
公开(公告)号:US20210373917A1
公开(公告)日:2021-12-02
申请号:US16885716
申请日:2020-05-28
Applicant: International Business Machines Corporation
Inventor: Xiao Yan Tang , Naijie Li , Jing Lu , Ming Ran Liu , Kershaw S. Mehta
Abstract: A computer-implemented method for termination of programs associated with different addressing modes includes receiving a call to an external interface to execute a target callee program from a caller program executing in a primary runtime environment. The external interface allocates an interoperability term area (ITA) in a primary runtime environment. The ITA is accessible by the primary runtime environment and a secondary runtime environment. The external interface executes the target callee program in the secondary runtime environment. The target callee program sets a termination reason parameter in the ITA. In response to the target callee program setting the termination reason parameter, a termination action in the primary runtime environment is performed. Various other methods, systems, and computer-readable media are also disclosed.
-
公开(公告)号:US20230267005A1
公开(公告)日:2023-08-24
申请号:US17651943
申请日:2022-02-22
Applicant: International Business Machines Corporation
Inventor: NAIJIE LI , Bao Zhang , Ming Ran Liu , Yuan Zhai , Jia Yu , Peng Hui Jiang , Guang Han Sui
CPC classification number: G06F9/5022 , G06F9/4881 , G06F9/5055 , G06F9/45504
Abstract: A thread management process where a storage area template is generated for a plurality of threads that are to be created by a process in a computing system, the storage area template comprising at least one module template for at least one library that is to be loaded by the process. In the computing system, a plurality of storage areas is allocated for the plurality of threads based on the storage area template, respectively. The plurality of threads are managed based on the plurality of storage areas, respectively. All threads and libraries may be managed in a uniform way according to the storage area template. Therefore, thread management may be simplified and then may lead to reduced costs in the storage and time resources.
-
公开(公告)号:US20230136606A1
公开(公告)日:2023-05-04
申请号:US17518069
申请日:2021-11-03
Applicant: International Business Machines Corporation
Inventor: Xiao Yan Tang , Naijie Li , Jing Lu , Ming Ran Liu , Yuan Zhai , Kershaw S. Mehta
Abstract: 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
Applicant: International Business Machines Corporation
Inventor: Ming Ran Liu , Bao Zhang , Naijie Li , Jing Lu , Xiao Yan Tang , Kershaw S. Mehta
Abstract: 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.
-
公开(公告)号:US20250068446A1
公开(公告)日:2025-02-27
申请号:US18237064
申请日:2023-08-23
Applicant: International Business Machines Corporation
Inventor: Ming Ran Liu , Naijie Li , Bao Zhang , Yuan Zhai , Xiao Ling Chen
IPC: G06F9/455
Abstract: Mechanisms are provided for collecting telemetry data from an observability tool of a container executing on a host computing system. The mechanisms configure a shared memory to implement a telemetry data buffer. The telemetry data buffer is shared by observability tool instances of a plurality of containers on one or more host computing systems. Observability tool instance(s) collect telemetry data from a corresponding container in the plurality of containers. The collected telemetry data is written to a record in the telemetry data buffer. A backend computing system accesses the records in the telemetry data buffer to apply analytics to the telemetry data.
-
公开(公告)号:US20220405118A1
公开(公告)日:2022-12-22
申请号:US17353945
申请日:2021-06-22
Applicant: International Business Machines Corporation
Inventor: Ming Ran Liu , Jing Lu , NAIJIE LI , Xiao Yan Tang , Yuan Zhai , Kershaw S. Mehta
Abstract: Aspects of the invention include creating a first file control block in a primary runtime environment with a first addressing mode and a second file control block in a second 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.
-
公开(公告)号:US11442739B2
公开(公告)日:2022-09-13
申请号:US16571592
申请日:2019-09-16
Applicant: International Business Machines Corporation
Inventor: Ming Ran Liu , Bao Zhang , Naijie Li , Yuan Zhai , Sean Douglas Perry
Abstract: 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.
-
公开(公告)号:US11288105B2
公开(公告)日:2022-03-29
申请号:US16939289
申请日:2020-07-27
Applicant: International Business Machines Corporation
Inventor: Jing Lu , Bao Zhang , Ming Ran Liu , Tie Liu , Xiao Yan Tang , Xiang Zu
Abstract: Provided is a method for preventing deadlocks between competing threads. The method includes receiving a lock request from a first thread and, in response, identifying a potential deadlock with a second thread. In response, the method includes determining whether to deny the lock request, which includes: determining whether a first duration for which the first thread will hold the lock to complete its job is longer than a second duration for which the second thread will hold the lock to complete its job; determining whether the second thread will start to use the lock soon relative to the first duration; and determining whether both the first and second threads will complete their respective jobs within a time limit if the lock is denied to the first thread while the second thread completes its job. The method further includes denying the request for the requested lock from the first thread.
-
公开(公告)号:US11947993B2
公开(公告)日:2024-04-02
申请号:US17353945
申请日:2021-06-22
Applicant: International Business Machines Corporation
Inventor: Ming Ran Liu , Jing Lu , Naijie Li , Xiao Yan Tang , Yuan Zhai , Kershaw S. Mehta
CPC classification number: G06F9/463 , G06F9/34 , G06F9/45508 , G06F9/544 , G06F9/546
Abstract: 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.
-
-
-
-
-
-
-
-
-