src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp
changeset 50714 2230bb152a9f
parent 50113 caf115bb98ad
child 53244 9807daeb47c4
equal deleted inserted replaced
50713:9894c4d30168 50714:2230bb152a9f
    23  */
    23  */
    24 
    24 
    25 #ifndef SHARE_VM_JFR_RECORDER_STORAGE_JFRBUFFER_HPP
    25 #ifndef SHARE_VM_JFR_RECORDER_STORAGE_JFRBUFFER_HPP
    26 #define SHARE_VM_JFR_RECORDER_STORAGE_JFRBUFFER_HPP
    26 #define SHARE_VM_JFR_RECORDER_STORAGE_JFRBUFFER_HPP
    27 
    27 
    28 #include "jni.h"
       
    29 #include "memory/allocation.hpp"
    28 #include "memory/allocation.hpp"
    30 
    29 
    31 //
    30 //
    32 // Represents a piece of committed memory.
    31 // Represents a piece of committed memory.
    33 //
    32 //
    34 // u1* _pos <-- next store position
    33 // u1* _pos <-- next store position
    35 // u1* _top <-- next unflushed position
    34 // u1* _top <-- next unflushed position
    36 //
    35 //
    37 // const void* _identity <<-- acquired by
    36 // const void* _identity <-- acquired by
    38 //
    37 //
    39 // Must be the owner before attempting stores.
    38 // Must be the owner before attempting stores.
    40 // Use acquire() and/or try_acquire() for exclusive access
    39 // Use acquire() and/or try_acquire() for exclusive access
    41 // to the (entire) buffer (cas identity).
    40 // to the (entire) buffer (cas identity).
    42 //
    41 //