RFR: 8213347: [JVMCI] remove use of reflection in JVMCI

Claes Redestad claes.redestad at oracle.com
Mon Nov 5 13:18:32 UTC 2018


I'd like to see JVMCI move towards using neither Services nor 
VM.savedProperties, which would make this cleanup unnecessary.


On 2018-11-05 11:16, Doug Simon wrote:
> The use of reflection in jdk.vm.ci.services.Services and jdk.vm.ci.services.internal.ReflectionAccessJDK comes from the original JDK 8 based JVMCI code where care had to be taken that JVMCI could be compiled on JDK 8. This use of reflection is no longer necessary since JDK 9 and this webrev removes it.
> The webrev also includes some minor Checkstyle related clean ups that I noticed when editing the code in Eclipse.
> https://bugs.openjdk.java.net/browse/JDK-8213347
> http://cr.openjdk.java.net/~dnsimon/8213347
> -Doug

More information about the hotspot-compiler-dev mailing list