comparison jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotCompiledNmethod.java @ 23299:805d58f2cd8c

Use explicit StackSlot instead of int offset for the deopt rescue slot.
author Roland Schatz <roland.schatz@oracle.com>
date Thu, 04 Feb 2016 10:38:07 +0100
parents 5d06abd6d35b
children 1d4ce2d19e52
comparison
equal deleted inserted replaced
23298:657ccda6d281 23299:805d58f2cd8c
20 * or visit www.oracle.com if you need additional information or have any 20 * or visit www.oracle.com if you need additional information or have any
21 * questions. 21 * questions.
22 */ 22 */
23 package jdk.vm.ci.hotspot; 23 package jdk.vm.ci.hotspot;
24 24
25 import jdk.vm.ci.code.StackSlot;
25 import jdk.vm.ci.code.site.DataPatch; 26 import jdk.vm.ci.code.site.DataPatch;
26 import jdk.vm.ci.code.site.Site; 27 import jdk.vm.ci.code.site.Site;
27 import jdk.vm.ci.inittimer.SuppressFBWarnings; 28 import jdk.vm.ci.inittimer.SuppressFBWarnings;
28 import jdk.vm.ci.meta.Assumptions.Assumption; 29 import jdk.vm.ci.meta.Assumptions.Assumption;
29 import jdk.vm.ci.meta.ResolvedJavaMethod; 30 import jdk.vm.ci.meta.ResolvedJavaMethod;
53 * failed (e.g., exactly which dependency failed). 54 * failed (e.g., exactly which dependency failed).
54 */ 55 */
55 @SuppressFBWarnings(value = "UWF_UNWRITTEN_FIELD", justification = "set by the VM") private String installationFailureMessage; 56 @SuppressFBWarnings(value = "UWF_UNWRITTEN_FIELD", justification = "set by the VM") private String installationFailureMessage;
56 57
57 public HotSpotCompiledNmethod(String name, byte[] targetCode, int targetCodeSize, Site[] sites, Assumption[] assumptions, ResolvedJavaMethod[] methods, Comment[] comments, byte[] dataSection, 58 public HotSpotCompiledNmethod(String name, byte[] targetCode, int targetCodeSize, Site[] sites, Assumption[] assumptions, ResolvedJavaMethod[] methods, Comment[] comments, byte[] dataSection,
58 int dataSectionAlignment, DataPatch[] dataSectionPatches, boolean isImmutablePIC, int totalFrameSize, int customStackAreaOffset, HotSpotResolvedJavaMethod method, int entryBCI, 59 int dataSectionAlignment, DataPatch[] dataSectionPatches, boolean isImmutablePIC, int totalFrameSize, StackSlot deoptRescueSlot, HotSpotResolvedJavaMethod method, int entryBCI,
59 int id, long jvmciEnv, boolean hasUnsafeAccess) { 60 int id, long jvmciEnv, boolean hasUnsafeAccess) {
60 super(name, targetCode, targetCodeSize, sites, assumptions, methods, comments, dataSection, dataSectionAlignment, dataSectionPatches, isImmutablePIC, totalFrameSize, customStackAreaOffset); 61 super(name, targetCode, targetCodeSize, sites, assumptions, methods, comments, dataSection, dataSectionAlignment, dataSectionPatches, isImmutablePIC, totalFrameSize, deoptRescueSlot);
61 this.method = method; 62 this.method = method;
62 this.entryBCI = entryBCI; 63 this.entryBCI = entryBCI;
63 this.id = id; 64 this.id = id;
64 this.jvmciEnv = jvmciEnv; 65 this.jvmciEnv = jvmciEnv;
65 this.hasUnsafeAccess = hasUnsafeAccess; 66 this.hasUnsafeAccess = hasUnsafeAccess;