Multi-section garbage collection
    1.
    发明授权

    公开(公告)号:US10169228B2

    公开(公告)日:2019-01-01

    申请号:US15683933

    申请日:2017-08-23

    IPC分类号: G06F12/02

    摘要: The embodiments relate to a method for managing a garbage collection process. The method includes executing a garbage collection process on a memory block of user address space. A load instruction is run. Running the load instruction includes loading content of a storage location into a processor. The loaded content corresponds to a memory address. It is determined if the garbage collection process is being executed at the memory address. The load instruction is diverted to a process to move an object at the memory address to a location outside of the memory block in response to determining that the garbage collection process is being executed at the first memory address. The load instruction is continued in response to determining that the garbage collection process is not being executed at the memory address.

    Multi-Section Garbage Collection
    2.
    发明申请

    公开(公告)号:US20170004072A1

    公开(公告)日:2017-01-05

    申请号:US14755643

    申请日:2015-06-30

    IPC分类号: G06F12/02

    CPC分类号: G06F12/0253 G06F2212/1044

    摘要: The embodiments relate to a method for managing a garbage collection process. The method includes executing a garbage collection process on a memory block of user address space. A load instruction is run. Running the load instruction includes loading content of a storage location into a processor. The loaded content corresponds to a memory address. It is determined if the garbage collection process is being executed at the memory address. The load instruction is diverted to a process to move an object at the memory address to a location outside of the memory block in response to determining that the garbage collection process is being executed at the first memory address. The load instruction is continued in response to determining that the garbage collection process is not being executed at the memory address.

    Multi-Section Garbage Collection
    5.
    发明申请

    公开(公告)号:US20180121349A1

    公开(公告)日:2018-05-03

    申请号:US15857858

    申请日:2017-12-29

    IPC分类号: G06F12/02

    CPC分类号: G06F12/0253 G06F2212/1044

    摘要: The embodiments relate to a computer system, computer program product and method for managing a garbage collection process. Processing control is obtained based on execution of a load instruction and a determination that an object pointer to be loaded indicates a location within a selected portion of memory undergoing a garbage collection process. The determination includes identifying a base address and size of a first memory block subject to the garbage collection, and assigning a binary value to each first memory block section. An image of the load instruction is obtained and a pointer address is calculated from the image. It is determined whether the object pointer is to be modified. The object pointer is modified and stored in a selected location.

    Multi-Section Garbage Collection
    6.
    发明申请

    公开(公告)号:US20170351607A1

    公开(公告)日:2017-12-07

    申请号:US15683933

    申请日:2017-08-23

    IPC分类号: G06F12/02

    CPC分类号: G06F12/0253 G06F2212/1044

    摘要: The embodiments relate to a method for managing a garbage collection process. The method includes executing a garbage collection process on a memory block of user address space. A load instruction is run. Running the load instruction includes loading content of a storage location into a processor. The loaded content corresponds to a memory address. It is determined if the garbage collection process is being executed at the memory address. The load instruction is diverted to a process to move an object at the memory address to a location outside of the memory block in response to determining that the garbage collection process is being executed at the first memory address. The load instruction is continued in response to determining that the garbage collection process is not being executed at the memory address.

    Multi-section garbage collection
    7.
    发明授权

    公开(公告)号:US09697117B2

    公开(公告)日:2017-07-04

    申请号:US14833452

    申请日:2015-08-24

    IPC分类号: G06F12/02

    CPC分类号: G06F12/0253 G06F2212/1044

    摘要: The embodiments relate to a method for managing a garbage collection process. The method includes executing a garbage collection process on a memory block of user address space. A load instruction is run. Running the load instruction includes loading content of a storage location into a processor. The loaded content corresponds to a memory address. It is determined if the garbage collection process is being executed at the memory address. The load instruction is diverted to a process to move an object at the memory address to a location outside of the memory block in response to determining that the garbage collection process is being executed at the first memory address. The load instruction is continued in response to determining that the garbage collection process is not being executed at the memory address.

    Using hardware transactional memory to optimize reference counting

    公开(公告)号:US10956284B2

    公开(公告)日:2021-03-23

    申请号:US16240926

    申请日:2019-01-07

    摘要: An approach is provided for optimizing reference counting. Responsive to receiving code representing a program by a just-in-time compiler, one or more processors in computing machinery supporting transactional memory identify regions of the code having respective sets of reference counting operations executed dynamically. Identifying the regions of the code uses an analysis of semantics of the code. The identified regions are enclosed in respective transactions. The code that was to perform atomic operations, including the reference counting operations in the identified regions, is transformed into new code that performs non-atomic operations that are variants of the atomic operations. Fallback code sequences are inserted into the transformed code. In a non-transactional manner and in response to detections of failures in respective transactions, the fallback code sequences execute original code sequences that were in the code prior to the transformation of the code. The original code sequences include respective multiple atomic operations.

    Multi-section garbage collection
    9.
    发明授权

    公开(公告)号:US10467135B2

    公开(公告)日:2019-11-05

    申请号:US15857858

    申请日:2017-12-29

    IPC分类号: G06F12/02

    摘要: The embodiments relate to a computer system, computer program product and method for managing a garbage collection process. Processing control is obtained based on execution of a load instruction and a determination that an object pointer to be loaded indicates a location within a selected portion of memory undergoing a garbage collection process. The determination includes identifying a base address and size of a first memory block subject to the garbage collection, and assigning a binary value to each first memory block section. An image of the load instruction is obtained and a pointer address is calculated from the image. It is determined whether the object pointer is to be modified. The object pointer is modified and stored in a selected location.