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

Vladimir Kozlov vladimir.kozlov at oracle.com
Wed Nov 21 17:57:59 UTC 2018


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