RFR 8207257 : Add VarHandle access test for value type declared in ref type

Roger Riggs Roger.Riggs at oracle.com
Thu Jun 13 15:22:26 UTC 2019


Please review an update to tests of VarHandles.  It adds support for an 
inline class
used in arrays and as a field of another inline class.

All tests pass except for those affected by 8207259[1] and the 
vh.compareAndSet methods.

The real changes are (mostly) to the templates, the other files are 
generated by the script.
The variable 'String' was changed to 'Class" so that it conditions all 
tests of Classes
including inline classes (not primitives)

Issue:
    https://bugs.openjdk.java.net/browse/JDK-8207257

Webrev:
http://cr.openjdk.java.net/~rriggs/webrev-inlineclass-tests-8207257/index.html

[1]8207259 Ensure VarHandle compare and set/exchange work for value types

Thanks, Roger



More information about the valhalla-dev mailing list