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

JVM tuning method and device

A technology for tuning and tuning parameters, applied in the computer field, can solve problems such as high difficulty and low efficiency of JVM tuning, and achieve the effects of increasing accuracy, improving JVM tuning efficiency, and realizing automation

Pending Publication Date: 2021-06-04
HUNAN HAPPLY SUNSHINE INTERACTIVE ENTERTAINMENT MEDIA CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, JVM tuning is generally realized through manual operation, which is inefficient and difficult

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
  • JVM tuning method and device
  • JVM tuning method and device
  • JVM tuning method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0075] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0076] After research, the inventor found that: the JVM runtime data area is mainly the JVM heap, which is the main area affecting performance, and the parameters of the heap mainly include the memory of the new generation and the old generation. When the Java service is running normally and the memory is full, the JVM will perform garbage collection (hereinafter referred to as gc), and the gc will stop the service for a short period of time. This is the perfor...

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 provides a JVM tuning method and device. In response to a JVM tuning instruction, monitoring data of at least one Java service in a monitoring range is obtained, a performance score of the Java service is calculated, a performance state of the Java service is obtained, tuning parameters are generated for the Java service by using a preset algorithm, automatic JVM tuning of the Java service is realized, and JVM tuning efficiency is improved. According to the invention, the optimal tuning parameter of the Java service is obtained under the conditions that multiple rounds of JVM tuning are automatically carried out and the JVM tuning ending condition is met, so that JVM tuning automation is realized, the JVM tuning difficulty is greatly reduced, and meanwhile, the JVM tuning accuracy is improved.

Description

technical field [0001] The present invention relates to the field of computer technology, and more specifically, to a JVM tuning method and device. Background technique [0002] The Java language is a commonly used programming language, and Java programs run on the Java virtual machine JVM. JVM provides memory management and runtime environment for Java programs. In order to make a service developed in the Java language run faster and more smoothly, developers need to adjust JVM parameters according to the characteristics of the program. [0003] At present, JVM tuning is generally realized through manual operation, which is inefficient and difficult. Contents of the invention [0004] In view of this, the present invention provides a JVM tuning method and device to realize batch JVM automatic tuning of Java services. [0005] In order to realize the foregoing invention object, the specific technical scheme provided by the present invention is as follows: [0006] A JV...

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
IPC IPC(8): G06F11/30G06F8/41
CPCG06F11/302G06F11/3051G06F8/443
Inventor 肖宝粮叶静涛
Owner HUNAN HAPPLY SUNSHINE INTERACTIVE ENTERTAINMENT MEDIA CO LTD