# HG changeset patch # User mgronlun # Date 1572293867 -3600 # Node ID fb51e2ae730e22db8491f9ed49d9c8367213911e # Parent 13921e9e3cacd0eb0205abcceb72434547658344 move stub 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; diff -r 13921e9e3cac -r fb51e2ae730e src/hotspot/share/jfr/recorder/checkpoint/types/jfrTypeSetUtils.hpp --- a/src/hotspot/share/jfr/recorder/checkpoint/types/jfrTypeSetUtils.hpp Mon Oct 28 18:43:54 2019 +0100 +++ b/src/hotspot/share/jfr/recorder/checkpoint/types/jfrTypeSetUtils.hpp Mon Oct 28 21:17:47 2019 +0100 @@ -99,12 +99,6 @@ }; template -class Stub { - public: - bool operator()(T const& value) { return true; } -}; - -template class SerializePredicate { bool _class_unload; public: