Mercurial > hg > graal-jvmci-8
diff jvmci/jdk.internal.jvmci.hotspot/src/jdk/internal/jvmci/hotspot/HotSpotJVMCIRuntime.java @ 22658:61bb5fa12458
Remove StartupEventListener interface.
author | Roland Schatz <roland.schatz@oracle.com> |
---|---|
date | Tue, 06 Oct 2015 16:31:24 +0200 |
parents | 9203f93ffeb0 |
children |
line wrap: on
line diff
--- a/jvmci/jdk.internal.jvmci.hotspot/src/jdk/internal/jvmci/hotspot/HotSpotJVMCIRuntime.java Mon Oct 05 13:13:21 2015 +0200 +++ b/jvmci/jdk.internal.jvmci.hotspot/src/jdk/internal/jvmci/hotspot/HotSpotJVMCIRuntime.java Tue Oct 06 16:31:24 2015 +0200 @@ -41,7 +41,6 @@ import jdk.internal.jvmci.code.InstalledCode; import jdk.internal.jvmci.common.JVMCIError; import jdk.internal.jvmci.compiler.Compiler; -import jdk.internal.jvmci.compiler.StartupEventListener; import jdk.internal.jvmci.inittimer.InitTimer; import jdk.internal.jvmci.meta.JVMCIMetaAccessContext; import jdk.internal.jvmci.meta.JavaKind; @@ -80,16 +79,8 @@ private static final HotSpotJVMCIRuntime instance; static { - try (InitTimer t0 = timer("HotSpotJVMCIRuntime.<clinit>")) { - try (InitTimer t = timer("StartupEventListener.beforeJVMCIStartup")) { - for (StartupEventListener l : Services.load(StartupEventListener.class)) { - l.beforeJVMCIStartup(); - } - } - - try (InitTimer t = timer("HotSpotJVMCIRuntime.<init>")) { - instance = new HotSpotJVMCIRuntime(); - } + try (InitTimer t = timer("HotSpotJVMCIRuntime.<init>")) { + instance = new HotSpotJVMCIRuntime(); } } }