Java Cup
Inside Java

News and views from members of the Java team at Oracle

New Bytecodes, New Objects

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

How could a smaller, more regular set of JVM mechanisms support richer languages and data? John Rose explores ways to reduce accidental complexity in bytecodes and the object model, including generic access to arrays, value types, and replacing special construction sequences with more uniform factory-based operations.

The discussion connects these ideas with lazy constant computation, compact and immutable data, lightweight execution, and access to wider hardware vectors. Rather than presenting a release plan, it sketches possible building blocks and the trade-offs involved in preserving compatibility, safety, and performance while allowing the VM to evolve.