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

Tom Rodriguez tom.rodriguez at oracle.com
Wed Nov 21 20:49:04 UTC 2018

Looks good.


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