Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Class loading method for starting Java Processor

A loader and startup module technology, applied in the direction of program loading/starting, program control devices, etc., can solve the problems of incompatibility, inability to transplant image files, weakening the portability of Java technology, etc., and achieve the effect of improving versatility

Inactive Publication Date: 2009-03-04
SUN YAT SEN UNIV
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] This method uses the development host to implement a part of the Java program running process, which is incompatible with the Java standard regulations, making the Java software development process cumbersome, except that it must run a conventional Java compiler to compile the Java high-level language source code into bytes In addition to code files, a "secondary compilation" process must be performed to generate memory image files during execution
The image file generated by this method cannot be transplanted to other Java platforms, and the dependence of the "secondary compilation" software on the platform significantly weakens the portability of Java technology.

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
  • Class loading method for starting Java Processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The present invention will be further elaborated below in conjunction with the accompanying drawings.

[0019] Such as figure 1 Shown, a kind of Java Processor starts class loading method, and its main steps comprise: 1) chip initialization; 2) start bytecode reading unit; 3) select and set class loading path; 4) load user class loader ; 5) load the operating system.

[0020] This method refers to the BIOS design idea in a general-purpose PC. When the chip is produced, the startup module code is solidified inside the chip, and this part of the code is automatically run when the system is started. In addition to realizing the function of peripheral device initialization, the Java virtual machine is also constructed. A system class loader, and a Java embedded operating system or Java application program stored in a bytecode file is loaded from a peripheral storage device or a network environment.

[0021] Detailed description of each step:

[0022] 1. Chip initializati...

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 class loading method when starting Java processor, the steps are: a) initialize chips; 2) initiate byte code read module; 3) select and set up the loading path; 4) load the loader for user classes; 5) load the operating system. The method references the design of common PC BIOS. When the chips are made, the start code is programmed in the chips. When the system starts, the code is run automatically to implement initialization function for peripherals, while building the system class loader for Java Virtual Machine and loading the Java embedded operating systems or applications stored as byte code files form peripheral storage devices or network. The invention makes the development process on Java-based processor similar to other embedded Java applications, which is convenience to the chip users and software developers. What's more, all the Java byte code following the Java standard can run on the chips, improving the universality and taking advantage of the portability of Java.

Description

technical field [0001] The invention belongs to the field of embedded processor design, and in particular relates to a class loading method when a JavaProcessor is started. Background technique [0002] At present, the class loading function in the Java Processor is mainly realized through software simulation in the development host, and the software is run on the development host, and according to the compiled Java bytecode file, type verification, memory allocation, symbol analysis, initialization of variables, etc. The class loading operation generates a memory image file when a Java program is executed, and then downloads the image file to the system memory and runs it directly. [0003] This method uses the development host to implement a part of the Java program running process, which is incompatible with the Java standard regulations, making the Java software development process cumbersome, except that it must run a conventional Java compiler to compile the Java high-...

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/445
Inventor 谭洪舟黄以华王华宁房树磊
Owner SUN YAT SEN UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products