Supercharge Your Innovation With Domain-Expert AI Agents!

Dispatcher of Java virtual machine-based concurrent garbage collector

A Java virtual machine, garbage collection technology, applied in the direction of program startup/switching, multi-program installation, etc., to achieve the effect of optimizing trigger points, reducing possibility, and low overhead

Inactive Publication Date: 2011-04-20
FUDAN UNIV
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, when the concurrent garbage collector is triggered becomes a problem: because if the garbage collection occurs when the system memory is still very free, the system is not fully utilized memory resources and cause the frequency of garbage collection to be too high, which will affect application performance; if it occurs when the system memory is already tight, the system heap memory is likely to be exhausted before concurrent garbage collection is completed, thus forcing garbage collection The collector performs "exhaustion processing" and needs to be forced to stop the application, which undoubtedly increases the pause time of the application

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
  • Dispatcher of Java virtual machine-based concurrent garbage collector
  • Dispatcher of Java virtual machine-based concurrent garbage collector
  • Dispatcher of Java virtual machine-based concurrent garbage collector

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The basic idea of ​​the present invention is to evaluate a more accurate GC trigger point by dynamically collecting system real-time information and calculating a comprehensive evaluation value. Here we will discuss in detail the information that the scheduler needs to collect and how to evaluate the calculation comprehensively.

[0024] 1) First define the ideal GC trigger point, that is, after the garbage collector's tracking process is completed, the system's memory resources are completely exhausted before the cleanup process starts. But obviously, since the concurrent garbage collector is executed at the same time as the application program, the uncertainty of program operation determines that it is impossible for the concurrent garbage collector to reach the ideal GC trigger point, but we can still make the scheduler The selected GC trigger point is as close to this ideal point as possible.

[0025] In the present invention, the system information that the schedu...

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

The invention belongs to the technical field of Java virtual machine garbage collection and in particular relates to a dispatcher of a Java virtual machine-based concurrent garbage collector. The dispatcher triggers a garbage collection process at a proper time point mainly by dynamically analyzing the running status of the current application program. The dispatcher judges whether to trigger garbage collection by using a simple time reckoning method when the application program applies for a memory every time. The dispatcher also deals with the condition that the memory resources of a system are exhausted at the same time. As a part of a concurrent garbage collecting and unifying frame, the invention provides the garbage collection dispatcher with low cost and high performance, optimizes a trigger point of garbage collection, improves the operation efficiency of the garbage collector and also greatly reduces the probability that the memory resources of the system are exhausted.

Description

technical field [0001] The invention belongs to the technical field of Java virtual machine garbage collection, and in particular relates to a scheduler of a Java virtual machine-based concurrent garbage collector. Background technique [0002] With the rise of high-level programming languages ​​such as Java, how to make reasonable use of memory has become one of the most critical considerations when providing environmental support for various high-level languages. As the main means of memory utilization, garbage collection technology plays an increasingly important role in system security and resource management. [0003] Concurrent garbage collection (Concurrent GC) has emerged as modern applications use larger amounts of memory, the number of objects increases, and the pauses caused by cutting "stop the world" garbage collection seriously affect the response time of the application. This technology enables the garbage collector to perform garbage collection while the ap...

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): G06F9/48
Inventor 杨珉张源周寻王迪臧斌宇
Owner FUDAN UNIV
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More