GARBAGE COLLECTION ABSENT USE OF SPECIAL INSTRUCTIONS
First Claim
1. A computer program product for facilitating garbage collection within a computing environment, said computer program product comprising:
- a computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising;
obtaining processing control by a handler executing within a processor of the computing environment, the obtaining processing control being based on execution of a load instruction and a determination that an address of an object pointer to be loaded is located in a pointer storage area and the object pointer indicates a location within a selected portion of memory undergoing garbage collection;
based on obtaining processing control by the handler, obtaining by the handler from the pointer storage area the object pointer, the object pointer indicating a location of an object pointed to by the object pointer;
determining by the handler whether the object pointer is to be modified;
modifying by the handler, based on determining the object pointer is to be modified, the object pointer to provide a modified object pointer; and
storing, based on modifying the object pointer, the modified object pointer in a selected location.
1 Assignment
0 Petitions
Accused Products
Abstract
Garbage collection processing is facilitated. Based on execution of a load instruction and determining that an address of an object pointer to be loaded is located in a pointer storage area and the object pointer indicates a location within a selected portion of memory undergoing garbage collection, processing control is obtained by a handler executing within a processor of the computing environment. The handler obtains the object pointer from the pointer storage area, and determines whether the object pointer is to be modified. If the object pointer is to be modified, the handler modifies the object pointer. The handler may then store the modified object pointer in a selected location.
24 Citations
20 Claims
-
1. A computer program product for facilitating garbage collection within a computing environment, said computer program product comprising:
a computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising; obtaining processing control by a handler executing within a processor of the computing environment, the obtaining processing control being based on execution of a load instruction and a determination that an address of an object pointer to be loaded is located in a pointer storage area and the object pointer indicates a location within a selected portion of memory undergoing garbage collection; based on obtaining processing control by the handler, obtaining by the handler from the pointer storage area the object pointer, the object pointer indicating a location of an object pointed to by the object pointer; determining by the handler whether the object pointer is to be modified; modifying by the handler, based on determining the object pointer is to be modified, the object pointer to provide a modified object pointer; and storing, based on modifying the object pointer, the modified object pointer in a selected location. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
11. A computer system for facilitating garbage collection within a computing environment, said computer system comprising:
-
a memory; and a processor in communications with the memory, wherein the computer system is configured to perform a method, said method comprising; obtaining processing control by a handler executing within a processor of the computing environment, the obtaining processing control being based on execution of a load instruction and a determination that an address of an object pointer to be loaded is located in a pointer storage area and the object pointer indicates a location within a selected portion of memory undergoing garbage collection; based on obtaining processing control by the handler, obtaining by the handler from the pointer storage area the object pointer, the object pointer indicating a location of an object pointed to by the object pointer; determining by the handler whether the object pointer is to be modified; modifying by the handler, based on determining the object pointer is to be modified, the object pointer to provide a modified object pointer; and storing, based on modifying the object pointer, the modified object pointer in a selected location. - View Dependent Claims (12, 13, 14, 15)
-
-
16-19. -19. (canceled)
-
20. A computer program product for facilitating processing within a computing environment, said computer program product comprising:
-
a computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising; obtaining processing control by a handler executing within a processor of the computing environment, the obtaining processing control being based on a determination that an object pointer to be accessed indicates a location within a specified memory area; and based on obtaining processing control by the handler, taking action by the handler, the taking action comprising at least one of;
providing an alert;preventing access to the specified memory area;
or modifying the object pointer and storing the modified object pointer.
-
Specification