Mercurial > hg > graal-compiler
changeset 7553:d34f5456475f
applied eclipseformat
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 24 Jan 2013 17:06:00 +0100 |
parents | a200d10867f1 |
children | 9472211c812b db90c8b5a861 |
files | graal/com.oracle.graal.debug/src/com/oracle/graal/debug/internal/DebugValue.java graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompilationStatistics.java |
diffstat | 2 files changed, 6 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.debug/src/com/oracle/graal/debug/internal/DebugValue.java Thu Jan 24 17:03:46 2013 +0100 +++ b/graal/com.oracle.graal.debug/src/com/oracle/graal/debug/internal/DebugValue.java Thu Jan 24 17:06:00 2013 +0100 @@ -22,7 +22,6 @@ */ package com.oracle.graal.debug.internal; - public abstract class DebugValue implements Comparable<DebugValue> { private String name;
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompilationStatistics.java Thu Jan 24 17:03:46 2013 +0100 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompilationStatistics.java Thu Jan 24 17:06:00 2013 +0100 @@ -49,6 +49,7 @@ private static ConcurrentLinkedDeque<CompilationStatistics> list = new ConcurrentLinkedDeque<>(); private static final ThreadLocal<Deque<CompilationStatistics>> current = new ThreadLocal<Deque<CompilationStatistics>>() { + @Override protected Deque<CompilationStatistics> initialValue() { return new ArrayDeque<>(); @@ -72,19 +73,14 @@ return thread.getThreadAllocatedBytes(currentThread().getId()); } - @NotReported - private final long startTime; - @NotReported - private long threadAllocatedBytesStart; - @NotReported - private int startInvCount; - @NotReported - private int endInvCount; + @NotReported private final long startTime; + @NotReported private long threadAllocatedBytesStart; + @NotReported private int startInvCount; + @NotReported private int endInvCount; private int bytecodeCount; private int codeSize; - @TimeValue - private long duration; + @TimeValue private long duration; private long memoryUsed; private final boolean osr; private final String holder;