JIT/compiler Java language extensions to enable field...

Data processing: software development – installation – and managem – Software program development tool – Programming language

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C717S148000

Reexamination Certificate

active

06530075

ABSTRACT:

BACKGROUND OF THE INVENTION
1. Technical Field
The present invention relates generally to an improved data processing system and in particular to an improved method and apparatus for processing a method in a Java Virtual Machine. Still more particularly, the present invention relates to a method and apparatus for selectively controlling just in time compilation of a method.
2. Description of Related Art
Java is an object-oriented programming language and environment, focusing on defining data as objects and the methods that may be applied to those objects. Java is designed to solve a number of problems in modern programming practice. Java is able to support applications for many types of data processing systems, which may contain a variety of central processing units and operating systems architectures. To enable a Java application to execute on different types of data processing systems, a compiler typically generates an architecture-neutral file format—the compiled code is executable on many processors, given the presence of the Java run time system. The Java compiler generates bytecode instructions that are non-specific to a particular computer architecture. A bytecode is a machine independent code generated by the Java compiler and executed by a Java interpreter. A Java interpreter is a module that alternately decodes and executes a bytecode. The decoding of the bytecode places the instruction into an executable form for the computer on which the code is to be executed. Then, the instruction is executed by the computer. These bytecode instructions are designed to be easy to interpret on any machine and easily translated on the fly into native machine code.
The Java Virtual Machine (JVM) is a virtual computer component that resides only in memory. A JVM includes components necessary to run a program on a computer, including an interpreter. The JVM allows Java programs to be executed on different platforms as opposed to only the one platform for which the code was compiled. Java programs are compiled for the JVM. In this manner, Java is able to support applications for many types of data processing systems, which may contain a variety of central processing units and operating systems architectures. To enable a Java application to execute on different types of data processing systems, a compiler typically generates an architecture-neutral file format—the compiled code is executable on many processors, given the presence of the Java run time system. The Java compiler generates bytecode instructions that are non-specific to a particular computer architecture. A bytecode is a machine independent code generated by the Java compiler and executed by a Java interpreter.
When extra speed in executing a Java program or applet is needed, a just in time (JIT) compiler may be used to translate bytecodes for a method or class into native machine instructions before executing them. Typically, this compilation only occurs once per method. Some JIT compilers may compile entire classes rather than one method at a time.
In some situations, a JIT compiler may produce invalid results when compiling bytecodes from a given method of a class into instructions or machine code for execution on the computer. These errors do not occur if the code is not just in time compiled. Typically, these errors in execution of native instructions occur as a result of faulty logic in the JIT compiler. Currently, a mechanism for avoiding these errors is unavailable.
Therefore, it would be advantageous to have an improved method and apparatus for just in time compiling of methods.
SUMMARY OF THE INVENTION
The present invention provides a method and apparatus in a data processing system for optimizing running of bytecode. An application programming interface is called for just in time compilation of bytecode. The bytecode just in time compiling is enabled or disabled using the application programming interface. Language keyword extensions can be placed in the source code which are source compiled into the output bytecodes, or may be placed in an external file, which provide for runtime optimization instructions to a virtual machine, a just in time bytecode compiler or the ClassLoader. Just in time compiling of the bytecodes is optimized during execution of the bytecodes using dynamic application programming interfaces. Dynamic runtime API's enable or disable the just in time compiling of objects based on compilation errors, execution performance and frequency of executions.


REFERENCES:
patent: 5093916 (1992-03-01), Karl et al.
patent: 5500881 (1996-03-01), Levin et al.
patent: 5740441 (1998-04-01), Yellin et al.
patent: 5748961 (1998-05-01), Hanna et al.
patent: 5815718 (1998-09-01), Tock
patent: 6016395 (2000-01-01), Mohamed
patent: 6078744 (2000-06-01), Wolczko et al.
patent: 6110226 (2000-08-01), Bothner
patent: 6139199 (2000-10-01), Rodriguez
patent: 6151703 (2000-11-01), Crelier
patent: 6233725 (2001-05-01), Beatle et al.
patent: 6289506 (2001-09-01), Kwong et al.
patent: 6317872 (2001-11-01), Gee et al.
Krall, Efficient JavaVM Just-in-time Compilation, Mar. 1998, IEEE.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

JIT/compiler Java language extensions to enable field... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with JIT/compiler Java language extensions to enable field..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and JIT/compiler Java language extensions to enable field... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3031192

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.