JVM load quantification and optimization method
An optimization method and load value technology, applied in resource allocation, program control design, instrumentation, etc., can solve problems such as insufficient response, difficulty in effective recovery, and low real JVM load
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0044] The present invention will be specifically introduced below in conjunction with the accompanying drawings and specific embodiments.
[0045] Such as figure 1 Shown is a JVM load quantification and optimization method of the present invention, including the following steps: S1: When the garbage collector executes GC, obtain GC data through GC callback. S2: Calculate metrics based on GC data. S3: Execute corresponding operation and maintenance operations according to the values of the calculated metrics. Since GC will definitely occur when the JVM load changes, GC callback is the most timely and granular and accurate way to monitor JVM load changes. The GC data obtained through the GC callback can more accurately reflect the current JVM load situation, and is more timely in terms of timeliness.
[0046] In the present invention, take the PS (Parallel Scavenge) collector as an example. When the PS collector executes GC, GC data is obtained through GC callback. The GC ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
