--- old/src/hotspot/share/utilities/ticks.hpp	2019-11-13 13:46:05.097841600 +0100
+++ new/src/hotspot/share/utilities/ticks.hpp	2019-11-13 13:46:04.144788700 +0100
@@ -233,6 +233,7 @@
   TimeInstant(jlong ticks) : Rep<TimeSource>(ticks) {}
   friend class GranularTimer;
   friend class ObjectSample;
+  friend class EventEmitter;
   // GC unit tests
   friend class TimePartitionPhasesIteratorTest;
   friend class GCTimerTest;