This page describes the command line for the experimental Java compiler, the Java launcher and HotSpot JVM for the support of L-World LW2 Inline Types in the Valhalla project.


 

Flag

Description

hotspot


-XX:EnableValhallaBoolean value, default value is `true`
If true enable support for L-World inline types.

-XX:ValueArrayElemMaxFlatSizeInteger value, default is -1
Max size for flattening an array of inline types, < 0 means no limit, 0 = disable

-XX:ValueArrayElemMaxFlatOopsInteger value, default is 4
Max number of embedded object references in inline type to flatten in an array, < 0 means no limit 

-XX:ValueArrayAtomicAccessBoolean value, default value is `false`
Enable atomic access to inlines in an array, by treating inline types as references.

-XX:EnableValhallaC1

Boolean value, default "false"

If true enable experimental C1 support of inline type

java

javac


-XDallowWithFieldOperator

Allow experimental direct use of the withfield bytecode via "__WithField(<field ref>, <value>)" synatx