Mercurial > hg > graal-jvmci-8
diff graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompilationStatistics.java @ 7553:d34f5456475f
applied eclipseformat
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 24 Jan 2013 17:06:00 +0100 |
parents | a200d10867f1 |
children | 08e06d4a9e73 |
line wrap: on
line diff
--- 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;