RFR: 8167180: [JVMCI] Exported elements referring to inaccessible types in jdk.vm.ci
Doug Simon
doug.simon at oracle.com
Tue Oct 11 20:44:07 UTC 2016
> On 11 Oct 2016, at 22:40, Mandy Chung <mandy.chung at oracle.com> wrote:
>
>
>> On Oct 11, 2016, at 1:36 PM, Doug Simon <doug.simon at oracle.com> wrote:
>>
>> Another alternative name is JVMCIServiceLocator:
>>
>> /**
>> * Service-provider class for the runtime to locate providers of JVMCI services where the latter are
>> * not in packages exported by the JVMCI module. As part of instantiating
>> * {@link JVMCIServiceLocator}, all JVMCI packages will be {@linkplain Services#exportJVMCITo(Class)
>> * exported} to the module defining the class of the instantiated object.
>> *
>> * While the {@link #getProvider(Class)} method can be used directly, it's usually easier to use
>> * {@link #getProviders(Class)}.
>> */
>> public abstract class JVMCIServiceLocator
>
> This class will find the provider of a given service. I think JVMCIServiceLocator is fine.
Ok, I’ll make that change in the final patch.
Thanks for the review.
-Doug
More information about the hotspot-compiler-dev
mailing list