changeset 22437:c88c31c60755

Improved JavaDoc on HotSpotJVMCICompilerConfig.selectCompiler
author Roland Schatz <roland.schatz@oracle.com>
date Thu, 20 Aug 2015 14:59:10 +0200
parents 5bf761306682
children dfd506f2ed61
files jvmci/jdk.internal.jvmci.hotspot/src/jdk/internal/jvmci/hotspot/HotSpotJVMCICompilerConfig.java
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jvmci/jdk.internal.jvmci.hotspot/src/jdk/internal/jvmci/hotspot/HotSpotJVMCICompilerConfig.java	Thu Aug 20 14:56:20 2015 +0200
+++ b/jvmci/jdk.internal.jvmci.hotspot/src/jdk/internal/jvmci/hotspot/HotSpotJVMCICompilerConfig.java	Thu Aug 20 14:59:10 2015 +0200
@@ -58,7 +58,10 @@
     private static CompilerFactory compilerFactory;
 
     /**
-     * Called from the VM.
+     * Selects the system compiler.
+     *
+     * Called from VM. This method has an object return type to allow it to be called with a VM
+     * utility function used to call other static initialization methods.
      */
     static Boolean selectCompiler(String compilerName) {
         for (CompilerFactory factory : Services.load(CompilerFactory.class)) {