Patent ID: 9747203
Date: 2017-08-29
CPC Classifications: G06F

Claim:
1. A computer system configured to perform a garbage collection process within a computing environment, the computer system comprising: a memory including a load-monitored region managed by a runtime environment; and a computer processor in communication with the memory, the computer processor configured to perform operations including: executing an instruction to load a doubleword, the instruction itself indicating a writable destination register field; conditionally loading, into the destination register indicated by the instruction, different bit values based on a pointing location of a pointer, the conditional loading including one of loading an address of the pointer defining the first bit value when the pointer indicated by the instruction points to a first location located in the load-monitored region, or loading the pointer itself defining the second bit value when the pointer indicated by the instruction points to a second location located outside of the load-monitored region; invoking a garbage collection event-based branch (EBB) in response to loading the pointer address into the destination register field of the instruction itself, and in response to invoking the garbage collection EBB, moving an object indicated by the pointer with a handler from the first location to a second location in the memory that is located outside of the load-monitored region.