src/hotspot/share/jfr/recorder/repository/jfrChunkRotation.hpp
changeset 53897 0abec72a3ac2
parent 53244 9807daeb47c4
equal deleted inserted replaced
53896:b47fd614c75e 53897:0abec72a3ac2
    34 // This is a means to initiate a chunk rotation on the basis of the size written.
    34 // This is a means to initiate a chunk rotation on the basis of the size written.
    35 //
    35 //
    36 class JfrChunkRotation : AllStatic {
    36 class JfrChunkRotation : AllStatic {
    37  public:
    37  public:
    38   static void evaluate(const JfrChunkWriter& writer);
    38   static void evaluate(const JfrChunkWriter& writer);
    39   static void set_threshold(intptr_t bytes);
    39   static void set_threshold(int64_t bytes);
    40   static bool should_rotate();
    40   static bool should_rotate();
    41   static void on_rotation();
    41   static void on_rotation();
    42 };
    42 };
    43 
    43 
    44 #endif // SHARE_JFR_RECORDER_REPOSITORY_JFRCHUNKROTATION_HPP
    44 #endif // SHARE_JFR_RECORDER_REPOSITORY_JFRCHUNKROTATION_HPP