Java virtual machine implementation method supporting multi-process

A technology of java virtual machine and implementation method, applied in the field of Java virtual machine supporting multi-process, to achieve the effects of reducing expenses, improving concurrency efficiency, and efficient switching speed

Inactive Publication Date: 2007-10-10
ZHEJIANG UNIV
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in some special cases, such as an environment without a host operating system, if multi-process concurrent execution is to be supported, the virtual machine must be responsible for process management.

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
  • Java virtual machine implementation method supporting multi-process
  • Java virtual machine implementation method supporting multi-process
  • Java virtual machine implementation method supporting multi-process

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] 1) Process scheduling method

[0034] The process scheduler of the operating system is replaced by the java virtual machine, which is responsible for the scheduling of each process:

[0035] I, according to process three kinds of states in running: running, ready, wait, set up three kinds of process queues in Java virtual machine: running queue, ready queue, waiting queue.

[0036] Running state: A process is running when it occupies the processor;

[0037] Ready state: a process such as waiting to occupy the processor;

[0038] Waiting state: a process cannot execute until some event occurs, such as a disk operation;

[0039] Correspondingly, three process queues are established in the Java virtual machine: run queue, ready queue, and waiting queue. Among them, the process in the running queue is in the running state, and shares the CPU time slice according to the priority; the process in the ready queue is in the ready state, waiting to be put into the running queu...

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 discloses a Java virtual machine realization method, which is characterized by the following: managing the integrated procedure in the Java virtual machine; switching the procedure dispatching; corresponding the procedure communication mechanism; controlling the internal memory to operate multiple Java procedures simultaneously; saving system resource; improving the procedure concurrent efficiency; reducing the dispatcher cost; fitting for inserted-type Java operation system.

Description

technical field [0001] The invention relates to a Java programming language and an operating system technology, to a Java program running realization technology, a scheduling switching technology and a process space allocation technology, in particular to a Java virtual machine method supporting multiple processes. Background technique [0002] The Java language is a cross-platform object-oriented high-level programming language launched by Sun Corporation. It is gaining more and more important status in various fields and has become one of the most important programming languages. [0003] The executable code of the Java language is a unified standard Java byte code (Byte Code) after compilation. As long as there is a Java virtual machine on a platform, all Java executable codes can run under the support of this Java virtual machine. Therefore, Java has excellent characteristics of cross-platform. [0004] Under the current Java virtual machine environment, there is no con...

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/46G06F9/455
Inventor 陈天洲戴红军叶敏娇胡威黄域
Owner ZHEJIANG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products