[LWorld] Definition and wiring in of the new top interface types.

Srikanth srikanth.adayapalam at oracle.com
Tue Jan 28 11:58:19 UTC 2020


Hello!

I have pushed the initial implementation for defining and wiring in the 
new top interface types viz InlineObject and IdentityObject
on behalf of

(1) JBS issue: https://bugs.openjdk.java.net/browse/JDK-8237069 
(Introduce and wire-in the new top interfaces)
       HG change set: 
http://hg.openjdk.java.net/valhalla/valhalla/rev/57fcdeb4a5b2

and

(2) JBS issue: https://bugs.openjdk.java.net/browse/JDK-8237955 
(Identity types that have no declaration sites fail to be IdentityObjects)
     HG change set: 
http://hg.openjdk.java.net/valhalla/valhalla/rev/e2f1c4d5f39e

These are implementing behavior defined here: 
http://cr.openjdk.java.net/~briangoetz/valhalla/sov/02-object-model.html

A small number of tier1 tests are failing.

I have raised JDK-8237952: (Reflection API/tests behavior needs to be 
spelled out for injected top interfaces)
to handle the failures in

java/lang/annotation/TypeAnnotationReflection.java
java/lang/annotation/typeAnnotations/GetAnnotatedInterfaces.java
java/lang/reflect/Generics/TestC1.java
java/lang/reflect/Generics/TestC2.java

I have also raised the following other defects against VM, core-libs:

JDK-8237959 - Need special handling of jlO constructor
JDK-8237958 - VM should implicitly treat arrays as IdentityObjects

On my machine, I also see the following two tests fail:

compiler/valhalla/valuetypes/TestCallingConvention.java
serviceability/jvmti/RedefineClasses/TestRedefineCondy.java

I am having trouble with running the former as a single test (it fails 
with missing class file for Whitebox permission) and the latter test is 
perhaps best tackled by someone from serviceability area.

FYI,
Thanks
Srikanth












More information about the valhalla-dev mailing list