RFR: 8213907: [JVMCI] avoid Class.getDeclared* methods when converting JVMCI objects to reflection objects

Doug Simon doug.simon at oracle.com
Wed Nov 21 20:54:49 UTC 2018

Thanks for the review!

> On 21 Nov 2018, at 21:49, Tom Rodriguez <tom.rodriguez at oracle.com> wrote:
> Looks good.
> tom
> Doug Simon wrote on 11/16/18 6:02 AM:
>> Currently, JVMCI uses Class.getDeclared[Methods|Constructors|Fields] to convert JVMCI objects to java.lang.reflect.[Method|Constructor|Field] objects. This leads to issues such as JDK-8209535 which can be avoided altogether by creating the reflection objects directly. This webrev uses a direct JVMCI VM call to create the reflection objects instead.
>> https://bugs.openjdk.java.net/browse/JDK-8213907
>> http://cr.openjdk.java.net/~dnsimon/8213907/
>> -Doug

More information about the hotspot-compiler-dev mailing list