Numbering sequences of cars with the same number in a generation managed by the train algorithm
First Claim
1. In a garbage collection method that divides a generation into car sections that belong to trains, wherein the trains are numbered in order from the oldest and the cars are numbered within trains in order from the oldest, and where the maximum number of cars in any train is defined, an improvement comprising the steps of:
- adding a car to a train wherein the number of the car in that train exceeds the maximum number;
discovering contiguous car sections suitable for combining, giving at least two of the discovered contiguous cars the same car number, and renumbering sequentially all the cars in the train whereby the youngest car number is less than the maximum number.
1 Assignment
0 Petitions
Accused Products
Abstract
In the Train algorithm, popular and small oversized objects are defined and placed into separate special cars within the trains. The train and car numbers are arranged to fit into one computer word for simplicity and time efficiency of fetching and comparing. A maximum number of cars numbers allowed in any one train is determined from the counter or register (word) length holding the train/car numbers, and the train and car numbers encompass the entire generation being collected. A threshold of less than the maximum number of cars in one train is determined, and when reached, contiguous special cars are arranged to share a common number, and all the cars in the train are renumbered sequentially. However, cars sharing one car numbers remain as separate data structures, including separate remembered sets. A mechanism for shuffling non-contiguous special cars, so that they are contiguous, is disclosed. Moreover, if needed normal sized cars may be re-numbered and included with other cars in a collection set.
8 Citations
20 Claims
-
1. In a garbage collection method that divides a generation into car sections that belong to trains, wherein the trains are numbered in order from the oldest and the cars are numbered within trains in order from the oldest, and where the maximum number of cars in any train is defined, an improvement comprising the steps of:
-
adding a car to a train wherein the number of the car in that train exceeds the maximum number;
discovering contiguous car sections suitable for combining, giving at least two of the discovered contiguous cars the same car number, and renumbering sequentially all the cars in the train whereby the youngest car number is less than the maximum number. - View Dependent Claims (2, 3, 4, 5)
-
-
6. In a garbage collection method that divides a generation into car sections that belong to trains, wherein the trains are numbered in order from the oldest and the cars are numbered within trains in order from the oldest, and where the maximum number of cars in any train is defined, an improvement comprising:
-
means for adding a car to a train wherein the number of the car in that train exceeds the maximum number;
means for discovering contiguous car sections suitable for combining, means for giving at least two of the discovered contiguous cars the same car number, and means for renumbering sequentially all the cars in the train whereby the youngest car number is less than the maximum number. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A computer readable media comprising the computer readable media containing instructions for execution on a processor for the practice of a garbage collection method that divides a generation into car sections that belong to trains, wherein the trains are numbered in order from the oldest and the cars are numbered within trains in order from the oldest, and where the maximum number of cars in any train is defined, an improvement comprising the steps of:
-
adding a car to a train wherein the number of the car in that train exceeds the maximum number;
discovering contiguous car sections suitable for combining, giving at least two of the discovered contiguous cars the same car number, and renumbering sequentially all the cars in the train whereby the youngest car number is less than the maximum number. - View Dependent Claims (12, 13, 14, 15)
-
-
16. Electromagnetic signals propagating on a computer network comprising the electromagnetic signals carrying instructions for execution on a processor for the practice of a garbage collection method that divides a generation into car sections that belong to trains, wherein the trains are numbered in order from the oldest and the cars are numbered within trains in order from the oldest, and where the maximum number of cars in any train is defined, an improvement comprising the steps of:
-
adding a car to a train wherein the number of the car in that train exceeds the maximum number;
discovering contiguous car sections suitable for combining, giving at least two of the discovered contiguous cars the same car number, and renumbering sequentially all the cars in the train whereby the youngest car number is less than the maximum number. - View Dependent Claims (17, 18, 19, 20)
-
Specification