changeset 22669:e1ec715b88d0

Fix HotSpotCompilationRequest constructor
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Wed, 07 Oct 2015 23:05:44 -0700
parents da5bdbf4a008
children 7d4688ad5afd
files jvmci/jdk.internal.jvmci.hotspot/src/jdk/internal/jvmci/hotspot/HotSpotCompilationRequest.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jvmci/jdk.internal.jvmci.hotspot/src/jdk/internal/jvmci/hotspot/HotSpotCompilationRequest.java	Wed Oct 07 16:42:51 2015 -0700
+++ b/jvmci/jdk.internal.jvmci.hotspot/src/jdk/internal/jvmci/hotspot/HotSpotCompilationRequest.java	Wed Oct 07 23:05:44 2015 -0700
@@ -42,7 +42,7 @@
      * @param jvmciEnv address of a native {@code JVMCIEnv} object or 0L
      */
     public HotSpotCompilationRequest(HotSpotResolvedJavaMethod method, int entryBCI, long jvmciEnv) {
-        this(method, entryBCI, jvmciEnv, method.allocateCompileId(-1));
+        this(method, entryBCI, jvmciEnv, method.allocateCompileId(entryBCI));
     }
 
     /**