Unlock instant, AI-driven research and patent intelligence for your innovation.

Copying and forwarding for concurrent copying garbage collection

A technology of garbage collection operations and threads, applied in the directions of memory address/allocation/relocation, instrumentation, calculation, etc., which can solve the problems of reducing application thread processing efficiency and reducing memory space

Active Publication Date: 2020-08-21
IBM CORP
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, sometimes objects used by application threads are not completely discarded after use, resulting in memory reserved for objects that are never used
Over time, this can cause memory to fill up with more and more unused data objects, making less memory space available for new data objects and reducing the efficiency of application thread processing

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Copying and forwarding for concurrent copying garbage collection
  • Copying and forwarding for concurrent copying garbage collection
  • Copying and forwarding for concurrent copying garbage collection

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Illustrative embodiments will now be described more fully herein with reference to the accompanying drawings in which embodiments are shown. However, this disclosure may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art. In the description, well-known features and technical details may be omitted to avoid unnecessarily obscuring the presented embodiments.

[0028] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the present disclosure. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. Furthermore, use of the terms "a", "an", etc. does not denote a limitation of qu...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

An approach for optimizing a copying of a data object in a concurrent copying garbage collection operation is provided. In an embodiment, a source copy of the data object to be copied as part of the garbage collection operation is identified. A copying of the source copy to a target location is initiated by a primary accessing thread. This initiating of the copying includes the creation of a temporary target object header for the target object in the target location that contains an indicator set to indicate that the copying is ongoing. As the copying is occurring, the execution of any other accessing threads that are attempting to use the data object are held for as long as the indicator indicates that the copying is ongoing. Once the copying has completed, the target object header is replaced with a copy of the source object header, resetting the indicator.

Description

technical field [0001] In general, embodiments of the invention relate to computer memory management. In particular, embodiments of the invention relate to a method for optimizing the replication of data objects in concurrent replication garbage collection operations. Background technique [0002] In the modern computer processing environment, efficient management of physical or virtual computer system memory is becoming increasingly important. The contents of memory are often constantly changing as application threads running on the computer system create, use, and discard new data objects. However, sometimes objects used by application threads are not completely discarded after use, resulting in memory reserved for objects that are never used. Over time, this can cause memory to fill with more and more unused data objects, making less memory space available for new data objects and reducing the efficiency of application thread processing. [0003] To solve this problem,...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F12/02
CPCG06F12/0269G06F2212/1016G06F12/0261
Inventor A·米希克J·希尤I·德索扎F·杰瑞米克C·R·杰拉希尔D·皮维科内
Owner IBM CORP