Java   View all facts   Glossary   Help
Java program > application > compiler > JIT compiler
Next compilerjavac    Upcompiler

JIT compiler
(Just-in-time compiler)
subjectfact 
JIT compilerhas definition A compiler that converts all of the bytecode into native machine code just as a program is runadded by: JK, source: Sun Java Tutorial, reference: Glossary, 2001-10-19 11:37:14.0
has purpose to improve run-time speed over code that is interpreted by a Java virtual machineadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:14.0
is part of an implementation of the Java Virtual Machine specification2001-10-19 11:37:14.0
is a subtopic of How Java Works2001-10-19 11:37:14.0
is a kind of compileradded by: JK, 2001-10-19 11:37:14.0
is a synonym of Just-in-time compiler2001-10-19 11:37:15.0
compiler 2001-10-19 11:36:29.0
2001-10-19 11:36:29.0
2001-10-19 11:36:29.0
2001-10-19 11:36:29.0
2001-10-19 11:36:29.0
chooses a constructor based on the number of the actual arguments and the types of the actual arguments2001-10-19 11:36:29.0
compiles source code into bytecode    2001-10-19 11:36:30.0
puts compiled code into a class file with the same name as the source file but with extension .class2001-10-19 11:36:30.0
applicationconsists of one or more classes    2001-10-19 11:36:03.0
contains one class that contains a main method which serves as the starting point for the rest of the program    2001-10-19 11:36:03.0
has example of running
java HelloWorld
  
2001-10-19 11:36:03.0
has part 1 main method called its entry point2001-10-19 11:36:03.0
is similar to an applet2001-10-19 11:36:03.0
is run by using a Java interpreter to load the application's main class file - this is normally done from the command-line prompt using the java tool from the SDK2001-10-19 11:36:03.0
may have command line arguments    2001-10-19 11:36:03.0
to run you type java and the class file name (without its extension) on the command line    2001-10-19 11:36:03.0
Java programcan be compiled on any platform that has a Java compiler    2001-10-19 11:37:09.0
can be run on any implementation of the Java Virtual Machine specification    2001-10-19 11:37:09.0
is portable because it is compiled into bytecode that can run on any computer with a Java Virtual Machine    2001-10-19 11:37:09.0
is usually slower than native code2001-10-19 11:37:09.0
is executed by a Java Virtual Machine2001-10-19 11:37:09.0
must be readable by humans2001-10-19 11:37:09.0
runs on a Java platform2001-10-19 11:37:09.0
should follow consistent guidelines that make the program easy to read2001-10-19 11:37:09.0
to run you may need platform-specific instructions2001-10-19 11:37:09.0

Next compilerjavac    Upcompiler