ArticleslgStudy

computer science

Jikes RVM

Jikes RVM is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Jikes RVM rather than just read about it. In short: Jikes Research Virtual Machine (Jikes RVM) is a mature virtual machine that runs programs written for the Java platform. Unlike most other Java virtual machines (JVMs), it is written in the programming language Java, in a style of implementation termed meta-circular.

Key takeaways

  • Jikes RVM belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Jikes RVM to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Jikes RVM from memory before moving on to harder problems.

Reference excerpt

Jikes Research Virtual Machine (Jikes RVM) is a mature virtual machine that runs programs written for the Java platform. Unlike most other Java virtual machines (JVMs), it is written in the programming language Java, in a style of implementation termed meta-circular. It is free and open source software released under an Eclipse Public License.

History 1997 November, the Jalapeño project starts as an internal research project at IBM's Thomas J. Watson Research Center. 1999, 2000, research papers describing novel aspects of Jikes RVM are published by IBM researchers and several universities are given access to the source code. 2001 October, Jikes RVM version 2 is released as an open-source model project under the Common Public License. The release supports PowerPC and Intel architectures and a range of different garbage collection algorithms. 2002, Jikes RVM 2.2 is released with the precise garbage collectors now refactored into the popular Memory Management Toolkit precise collectors. 2004, Jikes RVM 2.4 is released with increased stability and performance partly, with special focus to run eclipse. 2007, Jikes RVM 2.9 development starts with the code base extensively refactored to use features of Java 5.0 and to use an Apache Ant build system. 2008, Jikes RVM 3.0 released marking the end of 2.9 development and new stability in the code base. 2009, Jikes RVM 3.1 released under the Eclipse Public License (EPL) with significant improvements over the performance of version 3.0.1 and a switch to native threading. 2012, Jikes RVM won the Association for Computing Machinery (ACM) Special Interest Group on programming languages (SIGPLAN) Software award, cited for its "high quality and modular design."

Bootstrap Being meta-circular, Jikes RVM requires a bootstrapping JVM to run upon to create a boot image. The boot image is a view of the objects Jikes RVM requires to boot created using reflection in the bootstrap JVM. A small C loader is responsible for loading the boot image at runtime.

VM Magic VM Magic is where the compiler generates different code for a class than the bytecodes within that class should perform. VM Magic classes allow direct access to memory and are key to the Memory Management Toolkit's performance. The VM Magic classes reside in the org.vmmagic package and have been reused in other Java projects.

Memory Management Toolkit The Memory Management Toolkit (MMTk) is a set of precise garbage collectors that have been used within Jikes RVM and other projects such as the Singularity operating system and the Shared Source Common Language Infrastructure (SSCLI, formerly named Rotor). As with the rest of the Jikes RVM, the implementation is in Java, but the main dependence is on VM Magic.

Class libraries Either Apache Harmony or GNU Classpath class libraries can be used with Jikes RVM, with experimental support for OpenJDK's class library.

Compilers Jikes RVM uses a fast baseline compiler to quickly generate code for a given architecture. Adaptive compiling then recompiles code with an optimizing compiler with features such as on-stack replacement (OSR). The adaptive compiling system uses a cost-benefit analysis model.

Runtime Jikes RVM's runtime has many innovative features including mechanisms for fast locking, collaborative scheduling, and support for fast exception gathering and dispatch.

Processors Jikes RVM supports PowerPC (or ppc) and IA-32 (or Intel x86, 32-bit) instruction set processor architectures.

Research Since it is a research project, the emphasis of Jikes RVM is on researching new technologies, as is apparent from the scientific publications it has spawned – over 220 papers as of 2015. Jikes RVM has also participated in the Google Summer of Code 2007, 2008, 2010, 2011, and 2012.

See also

Jikes List of Java virtual machines Free Java implementations Bootstrapping (compilers) Self-hosting Self-interpreter PyPy (Python implementation in Python) Rubinius (Ruby implementation in Ruby)

References

External links Official website JikesRVM Github Jikes RVM User Guide Jikes RVM project page on SourceForge DaCapo Benchmarks WALA

Worked examples

Example 1 — a first encounter with Jikes RVM

Start with the simplest possible case. Write down what Jikes RVM claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Jikes RVM before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Jikes RVM ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Jikes RVM

In research
Jikes RVM appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Jikes RVM in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Jikes RVM is common in secondary-school and first-year university syllabi. It links to neighbouring topics Java virtual machine, Software using the Eclipse Public License, Stack-based virtual machines, so understanding it makes those chapters shorter.
In everyday life
Look for Jikes RVM outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Jikes RVM” →

How to study Jikes RVM in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Jikes RVM means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Jikes RVM out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Jikes RVM in simple terms?

Jikes Research Virtual Machine (Jikes RVM) is a mature virtual machine that runs programs written for the Java platform. Unlike most other Java virtual machines (JVMs), it is written in the programming language Java, in a style of implementation termed meta-circular.

Why does Jikes RVM matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Jikes RVM?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Jikes RVM.

Tags

  • Java virtual machine
  • Software using the Eclipse Public License
  • Stack-based virtual machines

Keep exploring