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

Doug Simon doug.simon at oracle.com
Mon Nov 5 13:49:43 UTC 2018

Hi Claes,

> On 5 Nov 2018, at 14:18, Claes Redestad <claes.redestad at oracle.com> wrote:
> Hi,
> I'd like to see JVMCI move towards using neither Services nor VM.savedProperties, which would make this cleanup unnecessary.

Fair enough. If you have suggestions as to where the functionality in Services could be better placed, I'd encourage you to open a new JBS issue to capture any ideas.


> 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