hg: valhalla/valhalla: 8212563: [lworld] Javac should emit `Q' descriptors for value types.

Srikanth srikanth.adayapalam at oracle.com
Wed Oct 17 06:58:57 UTC 2018


VM folk, please note:

This is the first push to support LW2's null-free value types encoded 
with 'Q' descriptor/signature in class files.

The only change this change set contains is to encode null free value 
types with/as 'Q' types. In particular, there is still no source support 
for nullable version of value types yet.

To trigger Q types emission, invoke javac with the option
-XDemitQtypes Thanks Srikanth
On Wednesday 17 October 2018 12:23 PM, srikanth.adayapalam at oracle.com wrote:
> Changeset: 1b7fae44af66
> Author:    sadayapalam
> Date:      2018-10-17 12:22 +0530
> URL:       http://hg.openjdk.java.net/valhalla/valhalla/rev/1b7fae44af66
>
> 8212563: [lworld] Javac should emit `Q' descriptors for value types.
>
> ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
> ! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassFile.java
> ! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java
> ! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassWriter.java
> ! src/jdk.jdeps/share/classes/com/sun/tools/classfile/Descriptor.java
> ! src/jdk.jdeps/share/classes/com/sun/tools/classfile/Signature.java
> ! src/jdk.jdeps/share/classes/com/sun/tools/jdeprscan/Pretty.java
> ! src/jdk.jdeps/share/classes/com/sun/tools/jdeprscan/scan/MethodSig.java
> + test/langtools/tools/javac/valhalla/lworld-values/QTypeTest.java
> + test/langtools/tools/javac/valhalla/lworld-values/QTypedValue.java
>



More information about the valhalla-dev mailing list