Mercurial > hg > graal-jvmci-8
diff jvmci/jdk.vm.ci.common/src/jdk/vm/ci/common/InitTimer.java @ 23700:9e1235406b59
[Findbugs] various warnings reported for JVMCI sources (JDK-8159613)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Sat, 18 Jun 2016 13:19:01 +0200 |
parents | 3e8ce13f4e12 |
children |
line wrap: on
line diff
--- a/jvmci/jdk.vm.ci.common/src/jdk/vm/ci/common/InitTimer.java Fri Jun 17 19:13:02 2016 +0200 +++ b/jvmci/jdk.vm.ci.common/src/jdk/vm/ci/common/InitTimer.java Sat Jun 18 13:19:01 2016 +0200 @@ -30,8 +30,8 @@ * {@code "jvmci.inittimer"} system property to {@code "true"}. */ public final class InitTimer implements AutoCloseable { - final String name; - final long start; + private final String name; + private final long start; private InitTimer(String name) { int n = nesting.getAndIncrement(); @@ -76,5 +76,5 @@ /** * Used to assert the invariant that all related initialization happens on the same thread. */ - public static Thread initializingThread; + static Thread initializingThread; }