src/hotspot/share/jfr/recorder/checkpoint/jfrMetadataEvent.hpp
branchJEP-349-branch
changeset 58049 10ecdb5d3574
parent 57987 23e3cd901cb6
child 58166 105d32b27809
equal deleted inserted replaced
58020:f082177c5023 58049:10ecdb5d3574
    35 // Using update(), Java stores a binary representation back to native.
    35 // Using update(), Java stores a binary representation back to native.
    36 // This is for easy access on chunk finalization as well as having it readily available in the case of fatal error.
    36 // This is for easy access on chunk finalization as well as having it readily available in the case of fatal error.
    37 //
    37 //
    38 class JfrMetadataEvent : AllStatic {
    38 class JfrMetadataEvent : AllStatic {
    39  public:
    39  public:
    40   static void lock();
       
    41   static void unlock();
       
    42   static void write(JfrChunkWriter& writer);
    40   static void write(JfrChunkWriter& writer);
    43   static void update(jbyteArray metadata);
    41   static void update(jbyteArray metadata);
    44 };
    42 };
    45 
    43 
    46 #endif // SHARE_JFR_RECORDER_CHECKPOINT_JFRMETADATAEVENT_HPP
    44 #endif // SHARE_JFR_RECORDER_CHECKPOINT_JFRMETADATAEVENT_HPP