Method and apparatus for switching between per-thread and per-processor resource pools in multi-threaded programs
AssigneeSun Microsystems, Inc.
InventorsAlexander Garthwaite, David Dice, Derek White
Life of this patent
Estimating the term…
Loading patent…
AssigneeSun Microsystems, Inc.
InventorsAlexander Garthwaite, David Dice, Derek White
Estimating the term…
In a multi-processor multi-threaded computer system, resources are dynamically assigned during program operation to either threads or processors in such a manner that resource usage is maximized. In one embodiment, the choice of whether to assign resources to threads or processors is dependent on the number of threads versus the number of processors. In another embodiment, when the system is operating in one assignment mode, the amount of wasted resources is measured and when this measured amount exceeds a predetermined threshold based on the maximum resources that could be wasted were the system operating in the other assignment mode, the assignment is switched to the other assignment mode.
A method operable in a computer system having at least one thread and at least one processor for dynamically switching the assignment of resources between a thread and a processor during the running of the thread so that the entity to which resources are assigned can use those resources without accounting for intervening access by other threads, the method comprising:
A method for dynamically assigning a local allocation buffer to one of a thread and a processor in a garbage-collected computer system, the method comprising:
Apparatus operable in a computer system having at least one thread and at least one processor for dynamically switching the assignment of resources between a thread and a processor during the running of the thread so that the entity to which resources are assigned can use those resources without accounting for intervening access by other threads, the apparatus comprising:
Apparatus for dynamically assigning a local allocation buffer to one of a thread and a processor in a garbage-collected computer system, the apparatus comprising:
A computer program product for dynamically assigning a local allocation buffer to one of a thread and a processor in a garbage-collected computer system, the computer program product comprising a computer usable medium having computer readable program code thereon, including:
Dependencies are inferred from the claim text.