Thread implementation and thread state switching method in Java operation system

A java operating system and state switching technology, applied in the field of Java operating system, can solve problems such as difficult to reflect efficiency, achieve the effect of increasing parallelism, easy implementation, and reducing system management overhead

Inactive Publication Date: 2006-07-12
ZHEJIANG UNIV
View PDF0 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For the C/S structure, those server processes that require frequent input and output

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
  • Thread implementation and thread state switching method in Java operation system
  • Thread implementation and thread state switching method in Java operation system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] The path that allows multiple parallel executions in each process is multithreading, such as figure 2 As shown, the thread in the Java operating system is the basic unit of the system for processor scheduling. All threads in the same process share the address space and resources obtained by the process; a thread has:

[0045] ●A thread execution state, such as running, ready, etc.

[0046] ● There is a protected thread context, which is used to store context information when the thread is not running

[0047] ● An independent program instruction counter

[0048] ● an execution stack

[0049] ● A static memory to hold local variables

[0050] The composition of a multithreaded process includes threads and spaces. Space is the memory space occupied and managed to complete the operation of a program. It encapsulates the management of the process, including the management of shared parts such as instruction codes, global data, and I / O status data. Threads in the Java ...

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 conversion method of line-course realization and state in the Java operation system, which is characterized by the following: the line course provides an execution path in the Java operation system, which is a basic unit of disposer dispatching; all line-course sharing processes acquire address space and resource in the same process; the line course contains five different states, which can do high effective conversion among states to improve the system property. The invention displays important meaning to the embedded system environment, for Java operation system of embedded system especially.

Description

technical field [0001] The invention relates to a Java operating system, in particular to a thread realization and a thread state switching method in the Java operating system. Background technique [0002] In traditional operating systems, multi-process concurrent programming is often used to solve the requirements brought about by the development of parallel technology, network technology and software technology, that is, to create and execute multiple processes, and to schedule and execute each process according to a certain strategy to maximize Maximize the use of various resources in the computer system. This method is certainly feasible, but the key lies in the efficiency of parallelism and concurrency. When using this method to implement a complex concurrent system, the following disadvantages will appear: [0003] ●The cost of process switching is high, and frequent process scheduling will consume a lot of time. [0004] ●The cost of communication between processes...

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): G06F9/48
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