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

Method to reduce the latency caused by garbage collection in a JAVA virtual machine

A technology of useless unit and java virtual machine, which is applied in the direction of instruments, multi-programming devices, electrical digital data processing, etc., and can solve problems such as machine interruption

Inactive Publication Date: 2008-07-02
ALCATEL LUCENT SAS
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The problem with the known method is that the whole machine is interrupted every time a GC instance starts running

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
  • Method to reduce the latency caused by garbage collection in a JAVA virtual machine
  • Method to reduce the latency caused by garbage collection in a JAVA virtual machine
  • Method to reduce the latency caused by garbage collection in a JAVA virtual machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The present invention relates to a JAVA virtual machine (JVM) or the like, such as J2EE, where different machines are running application tasks. The JAVA virtual machine includes a garbage collector GC for the application server, an instance of which runs on each machine for a predetermined period of time. Each instance of the garbage collector running on a particular machine interrupts tasks running on the same machine at the time. As a result, application tasks are impacted by garbage collector instances in their response latencies.

[0023] figure 1 with 2 Best and worst cases are shown respectively for an application running on different machines MC1 , MC2 , MC3 (indicated by thin horizontal lines), each of which may implement any garbage collector mechanism. The slightly thicker lines (jumping through different machines) represent the flow of a single request or application. Dashed vertical lines represent request reception and response transmission for a singl...

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

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.

Description

technical field [0001] The present invention relates to a method for running application tasks on different machines in a JAVA virtual machine environment while running a garbage collector instance on each of said machines for a predetermined period of time, And wherein each instance of the garbage collector interrupts a task running on the same machine. Background technique [0002] In such a Java virtual machine (JVM) or the like including a garbage collector (GC) for an application server, such as J2EE, an application task is affected by a garbage collector instance in its response delay. [0003] Known methods of running application tasks on different machines consist out of current implementations of garbage collectors. Typically, garbage collector instances run within a machine without knowledge of the state of garbage collectors on other machines. [0004] The problem with known methods is that the whole machine is interrupted every time a GC instance starts running...

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 Patents(China)
IPC IPC(8): G06F9/46
CPCG06F12/0253
Inventor N·A·A·詹森斯
Owner ALCATEL LUCENT SAS