Java Cup
Inside Java

News and views from members of the Java team at Oracle

Evolving the JVM - Principles & Directions

(Recorded at JVMLS 2014 - for more, check our JVMLS 2014 playlist.)

Keeping the JVM useful for many languages requires more than adding Java-specific features. This discussion examines where existing abstractions impose unnecessary costs or restrictions, using invokedynamic as an example of a general-purpose building block. Hardware capabilities, native interoperability, and more flexible data layouts help shape the direction of VM evolution.

Value types and generic specialization are explored as ways to represent data efficiently without forcing everything through object identity, references, and boxing. The proposed approach separates reusable VM mechanisms from language policy, considering class-file templates and dynamic linkage while emphasizing compatibility with existing libraries and code.