Maxine Virtual Machine

The Maxine virtual machine is an open source virtual machine that is developed at the University of Manchester.[2] It was formerly developed by Sun Microsystems Laboratories,[3] since renamed Oracle Labs. The emphasis in Maxine's software architecture is on modular design and code reuse for flexibility, configurability, and productivity for industrial and academic virtual machine researchers. It is one of a growing number of Java virtual machines written entirely in Java in a meta-circular style. Examples include Squawk and Jikes RVM.

Maxine
Original author(s)Bernd Mathiske, Douglas Simon
Developer(s)University of Manchester, Maxine team
Initial release2005 (2005)
Stable release
2.9.0[1] / December 20, 2019 (2019-12-20)
Repository
Written inJava
Operating systemSolaris, Linux, macOS
Platformx64, ARM32, AArch64, RISC-V
TypeJava virtual machine
LicenseGPL version 2.0
Websitegithub.com/beehive-lab/Maxine-VM 

Architecture

The Maxine VM is characterized internally by aggressive use of advanced language features in Java 1.5 and 1.6, by modular subsystems coordinated through Java interfaces, by the absence of an interpreter, and by a tightly coupled debugger and visualization tool for VM development.

Compatibility

Maxine is plug compatible with an unmodified Java Development Kit (JDK). Maxine can be developed, built, and run in standard Java integrated development environments (IDEs), including NetBeans, Eclipse, and IntelliJ IDEA.

Systems programming in Java

A secondary goal of the project is to develop methods and tools for "systems programming in Java". Compiler extensions, configured in VM source code using Java annotations, allow use, with no performance penalty, of low-level operations otherwise disallowed in Java. These extensions provided the foundation for the Graal compiler.

The Maxine Inspector

Specialized debugging support for the Maxine VM is provided by the Maxine Inspector: a companion tool that acts as a combined object, class, and method browser, and as a machine- and bytecode-level debugger.[4] The Inspector runs out-of-process, needs no active VM support, and leverages code shared with the VM for specialized developer services that exploit detailed knowledge of memory layout and VM design.[5] Notable services include:

  • multiple mode views of code[6] (source, bytecode,[7] disassembled machine code[8]) with multi-mode breakpoints[9] and stepping;
  • thread,[10] stack,[11] register,[12] and thread local variable inspection;
  • flexible low-level memory visualization[13] with dynamic interpretation and linking of memory values, e.g. as code locations, object references;
  • dynamic visualization of object fields and metadata;[14]
  • boot image configuration details;[15] and
  • specialized algorithm-specific support for debugging during GC.

History

Maxine was created by Bernd Mathiske at Sun Labs in early 2005. He led its development among a growing team until late 2008 when he left Sun Microsystems and handed the project over to Doug Simon who had been the first engineer to join it. Doug Simon continued in this role throughout the acquisition of Sun by Oracle Corporation.

The static (heap inspection) version of the Maxine Inspector was created by Bernd Mathiske in 2006. Michael Van De Vanter assumed development of the Inspector in 2007, adding dynamic support as the VM became executable and continued to evolve throughout the acquisition of Sun by Oracle Corporation.

Oracle continued development of Maxine until the release of Maxine 2.0.[16] The University of Manchester is developing Maxine as of release 2.1.[17]

See also

References

Notes

  1. https://github.com/beehive-lab/Maxine-VM/blob/master/CHANGELOG.md
  2. Wimmer et al. 2013, p. 1.
  3. "Oracle Labs – About". Labs.oracle.com. Retrieved 2017-06-25.
  4. "The Maxine Project: The Maxine Inspector". community.oracle.com. Retrieved 2019-04-08.
  5. "Introduction to the Maxine Inspector (Demo)". youtube.com. Retrieved 2019-04-08.
  6. "Maxine Inspector Mini-Demo 6 of 10 (2008): Multi-code Method Views". youtube.com. Retrieved 2019-04-08.
  7. "Maxine Inspector Mini-Demo 5 of 10 (2008): Disassembled Bytecode". youtube.com. Retrieved 2019-04-08.
  8. "Maxine Inspector Mini-Demo 4 of 10 (2008): Disassembled Machine Code". youtube.com. Retrieved 2019-04-08.
  9. "Maxine Inspector Mini-Demo 10 of 10 (2008): Breakpoints". youtube.com. Retrieved 2019-04-08.
  10. "Maxine Inspector Mini-Demo 7 of 10 (2008): Threads". youtube.com. Retrieved 2019-04-08.
  11. "Maxine Inspector Mini-Demo 9 of 10 (2008): Stacks". youtube.com. Retrieved 2019-04-08.
  12. "Maxine Inspector Mini-Demo 8 of 10 (2008): Registers". youtube.com. Retrieved 2019-04-08.
  13. "Maxine Inspector Mini-Demo 2 of 10 (2008): Memory". youtube.com. Retrieved 2019-04-08.
  14. "Maxine Inspector Mini-Demo 3 of 10 (2008): Heap Objects". youtube.com. Retrieved 2019-04-08.
  15. "Maxine Inspector Mini-Demo 1 of 10 (2008): Boot Image Configuration". youtube.com. Retrieved 2019-04-08.
  16. "Archived copy". Archived from the original on 2016-03-04. Retrieved 2013-09-18.CS1 maint: archived copy as title (link)
  17. "Maxine-VM: Maxine VM: A meta-circular research VM". GitHub. 21 June 2017. Retrieved 2017-06-25.

Bibliography

  • Kotselidis, Christos; Clarkson, James; Rodchenko, Andrey; Nisbet, Andy; Mawer, John; Luján, Mikel (2017). "Heterogeneous Managed Runtime Systems". Proceedings of the 13th ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments. VEE 2017. pp. 74–82. doi:10.1145/3050748.3050764. ISBN 978-1-4503-4948-2.CS1 maint: ref=harv (link)
  • Wimmer, Christian; Haupt, Michael; Van De Vanter, Michael L.; Jordan, Mick; Daynès, Laurent; Simon, Douglas (January 2013). "Maxine: An approachable virtual machine for, and in, java". ACM Transactions on Architecture and Code Optimization. 9 (4). art. 30. doi:10.1145/2400682.2400689. ISSN 1544-3566.CS1 maint: ref=harv (link)
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.