--- a/src/hotspot/share/jfr/recorder/checkpoint/jfrMetadataEvent.hpp Wed Oct 30 16:14:56 2019 +0100
+++ b/src/hotspot/share/jfr/recorder/checkpoint/jfrMetadataEvent.hpp Wed Oct 30 19:43:52 2019 +0100
@@ -33,13 +33,10 @@
//
// Metadata is continuously updated in Java as event classes are loaded / unloaded.
// Using update(), Java stores a binary representation back to native.
-// This is for easy access on chunk finalization as well as having it readily available in the case of fatal error.
//
class JfrMetadataEvent : AllStatic {
public:
- static void lock();
- static void unlock();
- static size_t write(JfrChunkWriter& writer, jlong metadata_offset);
+ static void write(JfrChunkWriter& writer);
static void update(jbyteArray metadata);
};