LLMpediaThe first transparent, open encyclopedia generated by LLMs

JVM

Generated by GPT-5-mini
Note: This article was automatically generated by a large language model (LLM) from purely parametric knowledge (no retrieval). It may contain inaccuracies or hallucinations. This encyclopedia is part of a research project currently under review.
Article Genealogy
Parent: V8 (JavaScript engine) Hop 3
Expansion Funnel Raw 73 → Dedup 7 → NER 6 → Enqueued 3
1. Extracted73
2. After dedup7 (None)
3. After NER6 (None)
Rejected: 1 (not NE: 1)
4. Enqueued3 (None)
Similarity rejected: 4
JVM
JVM
Michelle Ridomi · CC BY-SA 4.0 · source
NameJVM
DeveloperSun Microsystems; later Oracle Corporation
Released1995
Implemented inC (programming language); C++; Rust (programming language); Kotlin (programming language)
PlatformJava Platform, Standard Edition
LicenseGNU General Public License; proprietary

JVM The Java Virtual Machine is a specification and runtime environment that executes bytecode produced by compilers such as javac and language projects like Kotlin (programming language), Scala (programming language), Clojure and Groovy (programming language). It underpins platforms including Java Platform, Standard Edition and Android (operating system), and is central to projects from Sun Microsystems to Oracle Corporation, Red Hat, IBM and the Apache Software Foundation. The JVM enables portability across architectures like x86 and ARM, and interoperates with tools from Eclipse Foundation and JetBrains.

Overview

The specification defines a stack-based virtual machine described in standards maintained by organizations such as Oracle Corporation and shaped by vendors including IBM, Red Hat, Azul Systems, Amazon (company), and Google LLC. Implementations must support class file formats originating from the Java SE 1.0 era and evolving through versions associated with Java SE 8, Java SE 11, and Java SE 17. The ecosystem encompasses language runtimes for Kotlin (programming language), Scala (programming language), Clojure, JRuby, Jython and interoperability layers used in enterprise stacks like Spring Framework and Jakarta EE.

Architecture

At its core the architecture specifies class loaders, a bytecode instruction set, a runtime data area, and an execution engine influenced by virtual machines in academic projects from University of California, Berkeley and industrial designs at Sun Microsystems. The class file format traces lineage to formats used by compilers such as javac and toolchains managed by OpenJDK. Memory regions mirror models in operating systems like Linux and Microsoft Windows with heap layouts compatible with garbage collectors developed by teams at Oracle Corporation, IBM and Azul Systems. The specification references exception tables and verification algorithms in the spirit of verifiers used by projects like Eclipse IDE and compilers in the GNU Compiler Collection.

Runtime Components

Major runtime components include the class loader subsystem, the bytecode verifier, the interpreter, and the Just-In-Time compiler—features extensively engineered by vendors including Oracle Corporation, IBM, Red Hat and Azul Systems. The garbage collection subsystem offers algorithms such as generational collectors, concurrent collectors and stop-the-world collectors, with implementations inspired by research from Massachusetts Institute of Technology and Sun Microsystems labs. Threading and synchronization semantics align with concurrency primitives described in specifications used by Java Concurrency in Practice contributors and implemented in libraries like java.util.concurrent and frameworks maintained by Apache Software Foundation projects.

Execution and Performance

Execution relies on adaptive optimization performed by JIT compilers similar to those in HotSpot and alternative VMs developed by GraalVM and IBM J9. Performance tuning involves choices about inlining, escape analysis, and tiered compilation developed in collaboration with academic groups at Stanford University and industrial teams at Oracle Corporation and Red Hat. Profiling and diagnostics integrate with tools from Oracle Corporation and Eclipse Foundation, including profilers used in continuous delivery pipelines at Netflix and Spotify, and monitoring systems like Prometheus and Grafana in cloud deployments on platforms such as Amazon Web Services, Google Cloud Platform and Microsoft Azure.

Security and Sandboxing

Security features include bytecode verification, class loader isolation, and the security manager model that evolved through advisories from National Institute of Standards and Technology and practices adopted by Apache Software Foundation and OpenJDK contributors. Sandboxing models have been applied in browser-era projects associated with Netscape Communications Corporation and later in server-side isolation used by Oracle Corporation and cloud providers like Amazon (company). Cryptography and secure APIs integrate with standards from organizations such as IETF and FIPS guidance used by enterprises including Bank of America and Goldman Sachs.

Implementations and Ecosystem

Prominent implementations include HotSpot from OpenJDK and Oracle Corporation, GraalVM from Oracle Corporation and GraalVM contributors, IBM SDKs from IBM, Zing from Azul Systems, and Amazon Corretto from Amazon (company. Tooling and build ecosystems involve Maven (software), Gradle, Ant (software), and CI/CD systems like Jenkins (software), GitHub Actions, and GitLab. Major frameworks and projects built on the runtime include Spring Framework, Hibernate (framework), Apache Tomcat, Jetty (web server), Eclipse IDE, and enterprise platforms such as WildFly and GlassFish. Academic courses and textbooks at institutions like Massachusetts Institute of Technology and Stanford University study the JVM alongside compiler toolchains such as GCC and LLVM-related projects from University of Illinois at Urbana–Champaign.

Category:Java platform