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:41 UTC 2018

Thanks for the review!

> On 21 Nov 2018, at 18:57, Vladimir Kozlov <vladimir.kozlov at oracle.com> wrote:
> Seems good.
> Thanks,
> Vladimir
> On 11/16/18 6:02 AM, Doug Simon wrote:
>> 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