changeset 22417:feebbc955a3c

fixed javadoc for HotSpotVMEventListener.compileMetaspaceMethod
author Doug Simon <doug.simon@oracle.com>
date Wed, 12 Aug 2015 10:50:46 +0200
parents 8abc6030cf1c
children e5f1d4e023f3
files jvmci/jdk.internal.jvmci.hotspot/src/jdk/internal/jvmci/hotspot/HotSpotVMEventListener.java
diffstat 1 files changed, 7 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/jvmci/jdk.internal.jvmci.hotspot/src/jdk/internal/jvmci/hotspot/HotSpotVMEventListener.java	Tue Aug 11 01:55:00 2015 +0200
+++ b/jvmci/jdk.internal.jvmci.hotspot/src/jdk/internal/jvmci/hotspot/HotSpotVMEventListener.java	Wed Aug 12 10:50:46 2015 +0200
@@ -27,13 +27,14 @@
 public interface HotSpotVMEventListener {
 
     /**
-     * Notifies this client that HotSpot is running in CompileTheWorld mode and the JVMCI compiler
-     * should now perform its version of CompileTheWorld.
+     * Compiles a method to machine code and installs it in the code cache if the compilation is
+     * successful.
      *
-     * @param metaspaceMethod
-     * @param entryBCI
-     * @param jvmciEnv
-     * @param id
+     * @param metaspaceMethod the address of a Method metaspace object
+     * @param entryBCI the BCI at which to start compiling where -1 denotes a non-OSR compilation
+     *            request and all other values denote an OSR compilation request
+     * @param jvmciEnv pointer to native {@code JVMCIEnv} object
+     * @param id a unique identifier for this compilation
      */
     default void compileMetaspaceMethod(long metaspaceMethod, int entryBCI, long jvmciEnv, int id) {
     }