MCPcopy Index your code
hub / github.com/JikesRVM/JikesRVM

github.com/JikesRVM/JikesRVM @3.1.4

Chat with this repo
repository ↗ · DeepWiki ↗ · release 3.1.4 ↗ · + Follow
20,973 symbols 78,686 edges 1,840 files 10,619 documented · 51% updated 3y ago3.1.4 · 2016-02-18★ 424
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Jikes Research Virtual Machine

Jikes RVM (Research Virtual Machine) provides a flexible open testbed to prototype virtual machine technologies and experiment with a large variety of design alternatives. The system is licensed under the EPL, an OSI approved license. Jikes RVM runs on IA32 32 bit (64 bit support is work in progress) and PowerPC (big endian only).

A distinguishing characteristic of Jikes RVM is that it is implemented in the Java™ programming language and is self-hosted i.e., its Java code runs on itself without requiring a second virtual machine. Most other virtual machines for the Java platform are written in native code (typically, C or C++). A Java implementation provides ease of portability, and a seamless integration of virtual machine and application resources such as objects, threads, and operating-system interfaces.

More information is available at our website.

Building

You'll need

  • a JDK (>= 6)
  • Ant (>= 1.7) with optional tasks
  • GCC with multilibs
  • Bison
  • an internet connection during the first build to download GNU Classpath and other components

Please see the user guide for more details.

Need support?

Please ask on the researchers mailing list.

Bug reports

If you want to report a bug, please see this page on our website.

Contributions

See the contributions page for details.

The short version:

  • Contributions are licsensed under EPL and require a Contributor License Agreement. You keep your copyright.
  • You can send us patches or use pull requests. Send patches to the core mailing list.
  • It is ok to test on one platform only (e.g. only on IA32).

Work based on Jikes RVM

For work based on Jikes RVM, see our publications page. Bear in mind that this page is almost always incomplete. You can help rectify this by submitting pull requests or patches against the website repository. Additionally, some authors have decided to publish the code for their papers in the research archive at Sourceforge.

Other GitHub repositories that are based on Jikes RVM

There are a lot of projects on GitHub that are based on Jikes RVM but aren't forks of this repository. If you want your project listed (or not listed) here, please send us a patch or pull request.

The list is divided into repositories with code changes and additional information (description, README, paper, thesis, ...), repositories that have code changes but no (known) support material and repositories where it's unclear if there are actually any code changes against the base Jikes RVM.

Projects with code changes and additional information * HeraJVM, a JVM implementation for the Cell processor. See the thesis Using program behaviour to exploit heterogeneous multi-core processors by Ross McIlroy or the paper "Hera-JVM: A Runtime System for Heterogeneous Multi-Core Architectures". * Metacircular Research Platform by Ian Rogers. We're trying to merge most of the changes from MRP, with the notable exception of Apache Harmony support (because it's dead upstream) and Windows support (because that is implemented with Apache Harmony in MRP). If you want to help, see the MRP merge status page and ask on the core mailing list first. * A mark-compact related GC implementation * Cost-aware Parallel GC by Junjie Qian * Deutsch-Bobrow-GC * GPU garbage collection code from the paper "GPUs as an Opportunity for Offloading Garbage Collection" by Maas et al. from ISMM 2012. * Reference-counting Immix by Rifat Shahriyar et al. See the paper "Taking Off the Gloves with Reference Counting Immix" (OOPSLA'13). There's also a conservative version of the collector and an associated paper in OOPSLA'14. Patches to produce both collector implementations from a base Jikes RVM can be found in Rifat's patch repository. If you want to help to get the code into mainline Jikes RVM, contact us on the core mailing list. The relevant issues are RVM-1061 for RCImmix and RVM-1085 for conservative RC Immix. * Sapphire garbage collector. See that repository's readme for more information. If you want to help get the collector into mainline, contact us on the core mailing list. The associated issue is RVM-893. * The MMTk tutorial collector implemented * A tool related to Pacer. * ByteSTM. See the paper "ByteSTM: Virtual Machine-level Java Software Transactional Memory" by Mohamedin et al. * Laminar. See the paper "Laminar: Practical Fine-Grained Decentralized Information Flow Control" by Roy et al. in PLDI'09. The changes can be found in the form of patches in the Jikes RVM research archive entry. * A minimal implementation of causal profiling for Java applications running on Jikes RVM

Projects with code changes but without any additional information * https://github.com/vilay/check * https://github.com/gdeOo/ditto * https://github.com/Scharrels/e-strobe * https://github.com/leizhao833/jikes-bmm * https://github.com/josemsimao/jikesrvm

Projects that may or may not have any changes compared to a released version of Jikes RVM * https://github.com/hkrish4/ConcurrentGC * https://github.com/zitterbewegung/cs398 * https://github.com/danyaberezun/JBPractise * https://github.com/sirinath/jikesrvm * https://github.com/yanxiaoliang/jikesrvm * https://github.com/Betula-L/jikesrvm-3.1.3-hg_DrFinder * https://github.com/CodeOffloading/JikesRVM-CCO * https://github.com/ravifreek63/RVMJikes * https://github.com/perpetualcoder/SMPGC

History

The project migrated from Subversion to Mercurial and from Mercurial to Git. Certain older changes are not contained in this repository. If you need access to these changes, you can browse the old repositories at SourceForge. The relevant parts of the old repositories are also mirrored on GitHub (see below).

The last commit in the Mercurial repository is commit #11358 (hg commit id d4ced37a7a0d) from Tue, 08 Sep 2015 13:55:48 +0200. The matching commit in this Git repository has the commit id 871ee0e826c161c8cb99bba7280dced6da850779.

The last interesting commit in the Subversion repository is commit #16061 (Move assertion on heavy lock state to within lock mutex to avoid possible race with inflation code). The matching commit in this Git repository has the commit id 164e4f465640364da0b135b78307e8cf1de8a070. The very last commit in the Subversion repository is commit #16068 (disable runs on piccolo until we get hg working on AIX.).

Mirrors of the old repositories on GitHub:

  • The main code is mirrored at https://github.com/JikesRVM/mirror-historical-svn-jikesrvm . Please note that the mirror includes old branches which aren't present in this repository.
  • Tuningfork is mirrored at https://github.com/JikesRVM/mirror-historical-svn-tuningfork
  • Cattrack, an application for tracking test results that the project used in the past, is mirrored at https://github.com/JikesRVM/mirror-historical-svn-cattrack

Extension points exported contracts — how you extend this code

UncaughtExceptionHandler (Interface)
Implemented by objects that want to handle cases where a thread is being terminated by an uncaught exception. Upon such [6 …
libraryInterface/Harmony/ASF/src/java/lang/Thread.java
Schedulable (Interface)
Interface to those classes which can be scheduled as mutators by the scheduler. [21 implementers]
MMTk/harness/src/org/mmtk/harness/scheduler/Schedulable.java
SpaceVisitor (Interface)
Interface to use to implement the Visitor Pattern for Spaces. [8 implementers]
MMTk/src/org/mmtk/policy/Space.java
Visitor (Interface)
Used by visitTargets [8 implementers]
rvm/src/org/jikesrvm/adaptive/database/callgraph/WeightedCallTargets.java
Magic (Interface)
(no doc) [36 implementers]
testing/tests/basic/src/test/org/jikesrvm/basic/core/bytecode/TestClassHierarchy.java
RuntimePermissionCollection (Interface)
@author Evgueni Brevnov, Roman S. Bushmanov @version $Revision: 1.1.6.4 $
libraryInterface/Harmony/ASF/src/org/apache/harmony/lang/RuntimePermissionCollection.java
Policy (Interface)
Interface to the per-thread scheduler policy. [6 implementers]
MMTk/harness/src/org/mmtk/harness/scheduler/Policy.java
GCspyPlan (Interface)
This interface provides an immortal allocation space for GCspy objects. TODO constant interfaces are bad practice. C [1 …
MMTk/src/org/mmtk/plan/GCspyPlan.java

Core symbols most depended-on inside this repo

println
called by 2172
rvm/src/org/jikesrvm/util/PrintLN.java
sysWrite
called by 2007
rvm/src/org/jikesrvm/VM.java
_assert
called by 1823
rvm/src/org/jikesrvm/VM.java
create
called by 1038
rvm/src/org/jikesrvm/compilers/opt/lir2mir/AbstractBURS_TreeNode.java
sysWriteln
called by 874
rvm/src/org/jikesrvm/VM.java
EMIT
called by 860
rvm/src/org/jikesrvm/compilers/opt/lir2mir/BURS_Common_Helpers.java
value
called by 837
rvm/src/org/jikesrvm/ia32/RegisterConstants.java
print
called by 822
rvm/src/org/jikesrvm/util/PrintLN.java

Shape

Method 18,164
Class 2,193
Function 505
Interface 77
Enum 34

Languages

Java96%
C3%
C++1%
Ruby1%

Modules by API surface

rvm/src/org/jikesrvm/compilers/common/assembler/ppc/Assembler.java260 symbols
include/jni.h260 symbols
rvm/src/org/jikesrvm/scheduler/RVMThread.java242 symbols
rvm/src/org/jikesrvm/compilers/baseline/ppc/BaselineCompilerImpl.java234 symbols
rvm/src/org/jikesrvm/jni/JNIFunctions.java233 symbols
rvm/src/org/jikesrvm/compilers/baseline/ia32/BaselineMagic.java204 symbols
rvm/src/org/jikesrvm/compilers/baseline/ia32/BaselineCompilerImpl.java196 symbols
rvm/src/org/jikesrvm/compilers/baseline/TemplateCompilerFramework.java177 symbols
rvm/src/org/jikesrvm/compilers/opt/ir/BasicBlock.java128 symbols
rvm/src/org/jikesrvm/compilers/opt/Simplifier.java120 symbols
rvm/src/org/jikesrvm/compilers/opt/ir/Instruction.java118 symbols
rvm/test-src/org/jikesrvm/compilers/opt/bc2ir/GenerationContextTest.java117 symbols

For agents

$ claude mcp add JikesRVM \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact