SableVM explained

SableVM
Developer:Sable Research Group at McGill University
Discontinued:yes
Latest Release Version:1.13
Operating System:Cross-platform
Genre:Java Virtual Machine
License:GNU Lesser General Public License

SableVM was a clean room implementation of Java bytecode interpreter implementing the Java virtual machine (VM) specification, second edition. SableVM was designed to be a robust, extremely portable, efficient, and fully specifications-compliant (JVM spec, Java Native Interface, Invocation interface, Debug interface, etc.) Java Virtual Machine that would be easy to maintain and to extend. It is now no longer being maintained.

The implementation was a part of the effort in the early 2000s to break the Java ecosystem free from Sun Microsystems's control.[1] [2] [3]

Overview

The core engine is an interpreter which used ground-breaking techniques to deliver performance that can approach that of a "naive" just-in-time (JIT) compiler, while retaining the software engineering advantages of interpreters: portability, maintainability and simplicity.[4] [5] This simplicity makes SableVM's source code very accessible and easy to understand for new users/programmers.

SableVM is Free Software — it is licensed under the GNU Lesser General Public License (LGPL). It also makes use of GNU Classpath (copyrighted by the FSF) which is licensed under the GNU General Public License with linking exception.

SableVM is the first open-source virtual machine for Java to include the support for JVMDI (Java Virtual Machine Debugging Interface) and JDWP (Java Debug Wire Protocol). These standard Java debugging interfaces are used for example by Eclipse to provide a rich and user-friendly Java development environment.

Java Intermediate Language

Some versions of the SableVM use Java Intermediate Language, an intermediate language (which is a subset of XML) representing the type structure of a Java program. The language was proposed by the team of SableVM in McGill University in January 2002 to aid the analysis of a Java program with the goals of scalability and good performance.[6] [7] The language has not been widely adopted.

Consider the following piece of Java code.public MyClass implements MyInterface extends MySupperClass

This piece can be expressed in the language, as follows:

See also

External links

Notes and References

  1. Web site: Sun-approved Open Source java making progress . https://web.archive.org/web/20091203151009/http://www.theinquirer.net/inquirer/news/1027066/sun-approved-open-source-java-making-progress . unfit . December 3, 2009 . The Inquirer . 2006-03-31 . 2012-12-02.
  2. Web site: O'Reilly Network wins a Jolt; SNAP Platform gets jolted . Onlamp.com . 2012-12-02 . 2016-03-03 . https://web.archive.org/web/20160303231206/http://www.onlamp.com/pub/wlg/6725 . dead .
  3. Web site: Barbarians at the Gate | SYS-CON.TV . Tv.sys-con.com . 2006-09-22 . 2012-12-02.
  4. Gagnon, Etienne M., and Laurie J. Hendren. "SableVM: A research framework for the efficient execution of Java bytecode." Proceedings of the Java Virtual Machine Research and Technology Symposium. Vol. 1. 2001.
  5. Prokopski, Gregory B., Etienne M. Gagnon, and Christian Arcand. Bytecode testing framework for SableVM code-copying engine. Technical Report SABLETR-2007-9, Sable Research Group, School of Computer Science, McGill University, Montréal, Québec, Canada, 2007.
  6. Eng, David. "JIL: an extensible intermediate language." Sable Research Group, McGill University (2002).
  7. Eng, David. Combining static and dynamic data in code visualization. Vol. 28. No. 1. ACM, 2002.