comparison jvmci/jdk.vm.ci.hotspot.jfr/src/jdk/vm/ci/hotspot/jfr/events/JFREventProvider.java @ 22761:f2206f5bb62e

removed @ServiceProvider mechanism (GRAAL-1380)
author Doug Simon <doug.simon@oracle.com>
date Wed, 30 Dec 2015 17:55:07 +0100
parents 1bbd4a7c274b
children 1c4b6a7f1917
comparison
equal deleted inserted replaced
22760:4cf1946f59fc 22761:f2206f5bb62e
27 import java.net.URISyntaxException; 27 import java.net.URISyntaxException;
28 28
29 import jdk.vm.ci.hotspot.events.EmptyEventProvider.EmptyCompilationEvent; 29 import jdk.vm.ci.hotspot.events.EmptyEventProvider.EmptyCompilationEvent;
30 import jdk.vm.ci.hotspot.events.EmptyEventProvider.EmptyCompilerFailureEvent; 30 import jdk.vm.ci.hotspot.events.EmptyEventProvider.EmptyCompilerFailureEvent;
31 import jdk.vm.ci.hotspot.events.EventProvider; 31 import jdk.vm.ci.hotspot.events.EventProvider;
32 import jdk.vm.ci.service.ServiceProvider;
33 32
34 /** 33 /**
35 * A JFR implementation for {@link EventProvider}. This implementation is used when Flight Recorder 34 * A JFR implementation for {@link EventProvider}. This implementation is used when Flight Recorder
36 * is turned on. 35 * is turned on.
37 * 36 *
38 * Note: The use of fully qualified names for deprecated types is a workaround for <a 37 * Note: The use of fully qualified names for deprecated types is a workaround for <a
39 * href="https://bugs.openjdk.java.net/browse/JDK-8032211">JDK-8032211</a>. 38 * href="https://bugs.openjdk.java.net/browse/JDK-8032211">JDK-8032211</a>.
40 */ 39 */
41 @ServiceProvider(EventProvider.class)
42 @SuppressWarnings("deprecation") 40 @SuppressWarnings("deprecation")
43 public final class JFREventProvider implements EventProvider { 41 public final class JFREventProvider implements EventProvider {
44 42
45 private final boolean enabled; 43 private final boolean enabled;
46 44