diff -r 851a389fc54d -r 2c3578aa0bdf src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/AbstractEventStream.java --- a/src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/AbstractEventStream.java Fri Nov 29 15:37:13 2019 +0000 +++ b/src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/AbstractEventStream.java Fri Nov 29 17:31:01 2019 +0100 @@ -76,9 +76,10 @@ abstract public void close(); protected final Dispatcher dispatcher() { - if (configuration.hasChanged()) { + if (configuration.hasChanged()) { // quick check synchronized (configuration) { dispatcher = new Dispatcher(configuration); + configuration.setChanged(false); } } return dispatcher;