diff -r 2c3cc4b01880 -r c16ac7a2eba4 src/hotspot/share/jfr/recorder/storage/jfrMemorySpace.hpp --- a/src/hotspot/share/jfr/recorder/storage/jfrMemorySpace.hpp Wed Oct 30 16:14:56 2019 +0100 +++ b/src/hotspot/share/jfr/recorder/storage/jfrMemorySpace.hpp Wed Oct 30 19:43:52 2019 +0100 @@ -99,8 +99,8 @@ template void iterate(IteratorCallback& callback, bool full = true, jfr_iter_direction direction = forward); - debug_only(bool in_full_list(const Type* t) const { return _full.in_list(t); }) - debug_only(bool in_free_list(const Type* t) const { return _free.in_list(t); }) + bool in_full_list(const Type* t) const { return _full.in_list(t); } + bool in_free_list(const Type* t) const { return _free.in_list(t); } }; #endif // SHARE_JFR_RECORDER_STORAGE_JFRMEMORYSPACE_HPP