Method to reduce the latency caused by garbage collection in a java virtual machine
First Claim
1. A method to run tasks (P1, P2, P3) of an application on different machines (MC1, MC2, MC3) within a Java Virtual Machine (JVM) environment, while running instances of a garbage collector (GC1, GC2, GC3) at predetermined time periods on each of said machines, and wherein each instance of said garbage collector interrupts the task running on the same machine, characterized in that said method comprises the step of starting all the instances of said garbage collector (GC1, GC2, GC3) simultaneously on all the machines (MC1, MC2, MC3).
1 Assignment
0 Petitions
Accused Products
Abstract
A method to reduce the latency caused by garbage collection in a Java Virtual Machine (JVM) wherein different machines (MC1, MC2, MC3) are running consecutive tasks (P1, P2, P3) of an application. Because instances of a garbage collector (GC1, GC2, GC3) have to run on each machine and interrupt the task running then on that machine, their starts are synchronized to optimize the impact on the latency of the application'"'"'s response. In other words, because the tasks of the application run successively on different machines, the garbage collector (GC) affects the operation of only one machine by starting all its instances simultaneously on all the machines, i.e. by synchronizing the instances of the GC tasks. Each machine may be of the multi-processor type (CPU1, CPU2, CPU3) whereby the operation of all the processors is interrupted when an instance of the garbage collector is running on one of these processors.
11 Citations
4 Claims
-
1. A method to run tasks (P1, P2, P3) of an application on different machines (MC1, MC2, MC3) within a Java Virtual Machine (JVM) environment, while running instances of a garbage collector (GC1, GC2, GC3) at predetermined time periods on each of said machines, and wherein each instance of said garbage collector interrupts the task running on the same machine,
characterized in that said method comprises the step of starting all the instances of said garbage collector (GC1, GC2, GC3) simultaneously on all the machines (MC1, MC2, MC3).
Specification