RFR: 8167180: [JVMCI] Exported elements referring to inaccessible types in jdk.vm.ci

Mandy Chung mandy.chung at oracle.com
Tue Oct 11 20:40:49 UTC 2016


> 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.

I skimmed through the webrev which looks reasonable. Thanks for this API clean up.

Mandy


More information about the hotspot-compiler-dev mailing list