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

Karen Kinnear karen.kinnear at oracle.com
Wed Oct 17 13:54:14 UTC 2018


Many thanks for this - and for proposing a way to do the changes incrementally and with the flag.

thanks,
Karen

> On Oct 17, 2018, at 2:58 AM, Srikanth <srikanth.adayapalam at oracle.com> wrote:
> 
> 
> 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