How is it possible to implement the JVM in Java without using a second virtual machine?
-
When I heard about the Jikes RVM project, it seemed very confusing. What does it mean to implement a JVM in Java without a second virtual machine? Is there some "core" part of the engine which is written in C? If not, how are Java commands translated into machine-specific code?
-
Answer:
Jikes includes a bootstrap written in C. All it does is to load up a boot image file, containing native code, which will be generated during the build process. (That build process can be done using an existing JVM, though once that is done the existing JVM can be discarded and Jikes can build itself.) http://jikesrvm.org/Building+the+RVM
Joshua Engel at Quora Visit the source
Other answers
Remember that Java is not an interpreter. Its a mixed mode interpreter/compiler. As has already been explained, code originally written in Java and compiled by the VM can be stored as compiled code to form the bootstrap layer of the VM.
Jeff Kesselman
Related Q & A:
- How can I communicate Raspberry Pi and Arduino (in both ways) using a 10-15m distance wires?Best solution by Arduino
- How to find the derivative without using a symbolic function in Matlab?Best solution by Stack Overflow
- How to connect to host from virtual machine on a specific port?Best solution by Super User
- How can I sell something on ebay without using a credit card?Best solution by Yahoo! Answers
- How do you sync itunes songs to the old ipod shuffle using a different computer?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.