File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/jfr Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -197,16 +197,6 @@ public static JfrRandom getJfrRandom() {
197197 return get ().jfrRandom ;
198198 }
199199
200- public static Object getHandler (Class <? extends jdk .internal .event .Event > eventClass ) {
201- try {
202- Field f = eventClass .getDeclaredField ("eventHandler" );
203- f .setAccessible (true );
204- return f .get (null );
205- } catch (NoSuchFieldException | IllegalArgumentException | IllegalAccessException e ) {
206- throw new InternalError ("Could not access event handler" );
207- }
208- }
209-
210200
211201 @ Uninterruptible (reason = "Prevent races with VM operations that start/stop recording." , callerMustBe = true )
212202 public boolean isRecording () {
You can’t perform that action at this time.
0 commit comments