diff -r 13921e9e3cac -r fb51e2ae730e src/hotspot/share/jfr/recorder/checkpoint/types/jfrTypeSet.cpp --- a/src/hotspot/share/jfr/recorder/checkpoint/types/jfrTypeSet.cpp Mon Oct 28 18:43:54 2019 +0100 +++ b/src/hotspot/share/jfr/recorder/checkpoint/types/jfrTypeSet.cpp Mon Oct 28 21:17:47 2019 +0100 @@ -754,9 +754,15 @@ } }; +template +class EmptyStub { + public: + bool operator()(T const& value) { return true; } +}; + typedef SerializePredicate MethodPredicate; typedef JfrPredicatedTypeWriterImplHost MethodWriterImplTarget; -typedef Wrapper KlassCallbackStub; +typedef Wrapper KlassCallbackStub; typedef JfrTypeWriterHost MethodWriterImpl; typedef MethodIteratorHost MethodWriter;