diff -r 84ef29ccac56 -r 00860d9caf4d src/hotspot/share/jfr/recorder/storage/jfrBuffer.cpp --- a/src/hotspot/share/jfr/recorder/storage/jfrBuffer.cpp Fri Aug 23 18:47:55 2019 +0200 +++ b/src/hotspot/share/jfr/recorder/storage/jfrBuffer.cpp Sat Aug 24 14:30:27 2019 +0200 @@ -140,10 +140,6 @@ OrderAccess::release_store(&_identity, (const void*)NULL); } -void JfrBuffer::clear_identity() { - _identity = NULL; -} - bool JfrBuffer::acquired_by(const void* id) const { return identity() == id; }