src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir/src/org/graalvm/compiler/lir/stackslotalloc/StackSlotAllocatorUtil.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir/src/org/graalvm/compiler/lir/stackslotalloc/StackSlotAllocatorUtil.java	Fri Jul  7 09:31:08 2017
--- new/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir/src/org/graalvm/compiler/lir/stackslotalloc/StackSlotAllocatorUtil.java	Fri Jul  7 09:31:08 2017

*** 20,31 **** --- 20,31 ---- * or visit www.oracle.com if you need additional information or have any * questions. */ package org.graalvm.compiler.lir.stackslotalloc; ! import org.graalvm.compiler.debug.Debug; ! import org.graalvm.compiler.debug.DebugCounter; ! import org.graalvm.compiler.debug.CounterKey; ! import org.graalvm.compiler.debug.DebugContext; import org.graalvm.compiler.lir.VirtualStackSlot; import org.graalvm.compiler.lir.gen.LIRGenerationResult; import jdk.vm.ci.code.StackSlot;
*** 36,53 **** --- 36,53 ---- */ public final class StackSlotAllocatorUtil { /** * The number of allocated stack slots. */ ! public static DebugCounter allocatedSlots = Debug.counter("StackSlotAllocator[allocatedSlots]"); ! public static CounterKey allocatedSlots = DebugContext.counter("StackSlotAllocator[allocatedSlots]"); /** * The number of reused stack slots. */ ! public static DebugCounter reusedSlots = Debug.counter("StackSlotAllocator[reusedSlots]"); ! public static CounterKey reusedSlots = DebugContext.counter("StackSlotAllocator[reusedSlots]"); /** * The size (in bytes) required for all allocated stack slots. Note that this number corresponds * to the actual frame size and might include alignment. */ ! public static DebugCounter allocatedFramesize = Debug.counter("StackSlotAllocator[AllocatedFramesize]"); ! public static CounterKey allocatedFramesize = DebugContext.counter("StackSlotAllocator[AllocatedFramesize]"); /** The size (in bytes) required for all virtual stack slots. */ ! public static DebugCounter virtualFramesize = Debug.counter("StackSlotAllocator[VirtualFramesize]"); ! public static CounterKey virtualFramesize = DebugContext.counter("StackSlotAllocator[VirtualFramesize]"); }

src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir/src/org/graalvm/compiler/lir/stackslotalloc/StackSlotAllocatorUtil.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File