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

Dynamic compilation scheduling method and device

A technology of dynamic compilation and scheduling method, which is applied in the direction of code compilation, program control device, program code conversion, etc. It can solve the problems of inaccurate identification of hotspots, increased dynamic compilation overhead of virtual machines, and reduced dynamic compilation performance, so as to avoid excessive Delete, improve dynamic compilation performance, and reduce overhead

Active Publication Date: 2019-09-27
LOONGSON TECH CORP
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The existing identification of program hotspots is predicted based on the past historical information of the program, which cannot accurately identify the hotspots in the program. Some methods may be misidentified as hotspot methods, which will increase the overhead of dynamic compilation of virtual machines , dynamic compilation performance is reduced

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
  • Dynamic compilation scheduling method and device
  • Dynamic compilation scheduling method and device
  • Dynamic compilation scheduling method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is only some embodiments of the present invention, but not all embodiments. 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.

[0029] The present invention provides a dynamic compilation scheduling method, figure 1 It is a flow chart of Embodiment 1 of the dynamic compilation scheduling method of the present invention, such as figure 1 As shown, the method of the present embodiment includes:

[0030] S11. Obtain the length of the current compilation queue, where th...

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 dynamic compiling and scheduling method and device, relates to the technical field of compiling and scheduling of virtual machines, and solves the problems of high dynamic compiling overhead and low dynamic compiling performance of a virtual machine in the prior art. The method comprises the following steps of: obtaining the length of a current compiling queue, wherein the current compiling queue is a hotspot method queue; if the length of the current compiling queue is greater than a compiling overload threshold value, obtaining the comprehensive liveness of various hotspot methods in the current compiling queue, deleting at least one hotspot method having the lowest comprehensive liveness, and performing compiling and scheduling of the residual hotspot methods in the current compiling queue; if the length of the current compiling queue is not greater than the compiling overload threshold value, performing compiling and scheduling of the hotspot methods in the current compiling queue; and removing the hotspot method selected when compiling and scheduling are carried out from the current compiling queue, and performing compiling. The embodiment of the invention is suitable for performing dynamic compiling and scheduling in high-level language virtual machines, such as JAVA.

Description

technical field [0001] The invention relates to the technical field of virtual machine compilation and scheduling, in particular to a dynamic compilation and scheduling method and device. Background technique [0002] A virtual machine (VM, Virtual Machine) mainly virtualizes a computer through software or a small amount of hardware support. It relies on a local physical machine and simulates a given virtual machine instruction sequence on the local machine through its execution engine. implement. The execution engine of the virtual machine can be implemented by an interpreter, and the interpreter performs instruction fetching, decoding and execution in units of one virtual machine instruction. However, the performance of simple interpretation and execution is low, so a dynamic compilation system is introduced into the virtual machine to improve its performance. The compiler is the core of the dynamic compilation system. It compiles a set of continuous virtual machine inst...

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): G06F8/41G06F9/455
Inventor 傅杰靳国杰高翔王剑
Owner LOONGSON TECH CORP