src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/InternalEventFilter.java
branchJEP-349-branch
changeset 57921 08327ab323c5
parent 57433 83e4343a6984
--- a/src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/InternalEventFilter.java	Thu Aug 29 03:21:55 2019 +0200
+++ b/src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/InternalEventFilter.java	Thu Aug 29 03:27:49 2019 +0200
@@ -39,12 +39,6 @@
         this(false, new HashMap<>());
     }
 
-    // returns an instance that can be passed to
-    // another thread safely
-    public InternalEventFilter threadSafe() {
-        return new InternalEventFilter(acceptAll, thresholds);
-    }
-
     private InternalEventFilter(boolean acceptAll, Map<String, Long> thresholds) {
         this.acceptAll = acceptAll;
         this.thresholds = thresholds;