src/hotspot/share/jfr/recorder/service/jfrRecorderService.hpp
changeset 58863 c16ac7a2eba4
parent 53244 9807daeb47c4
equal deleted inserted replaced
58861:2c3cc4b01880 58863:c16ac7a2eba4
    44   JfrStringPool& _string_pool;
    44   JfrStringPool& _string_pool;
    45 
    45 
    46   void open_new_chunk(bool vm_error = false);
    46   void open_new_chunk(bool vm_error = false);
    47   void chunk_rotation();
    47   void chunk_rotation();
    48   void in_memory_rotation();
    48   void in_memory_rotation();
    49   void serialize_storage_from_in_memory_recording();
       
    50   void finalize_current_chunk();
    49   void finalize_current_chunk();
    51   void finalize_current_chunk_on_vm_error();
       
    52   void prepare_for_vm_error_rotation();
    50   void prepare_for_vm_error_rotation();
    53   void vm_error_rotation();
    51   void vm_error_rotation();
       
    52   void invoke_flush();
    54 
    53 
    55   void clear();
    54   void clear();
    56   void pre_safepoint_clear();
    55   void pre_safepoint_clear();
    57   void safepoint_clear();
    56   void safepoint_clear();
    58   void invoke_safepoint_clear();
    57   void invoke_safepoint_clear();
    65   void post_safepoint_write();
    64   void post_safepoint_write();
    66 
    65 
    67  public:
    66  public:
    68   JfrRecorderService();
    67   JfrRecorderService();
    69   void start();
    68   void start();
       
    69   size_t flush();
    70   void rotate(int msgs);
    70   void rotate(int msgs);
       
    71   void flushpoint();
    71   void process_full_buffers();
    72   void process_full_buffers();
    72   void scavenge();
    73   void scavenge();
    73   void evaluate_chunk_size_for_rotation();
    74   void evaluate_chunk_size_for_rotation();
    74   static bool is_recording();
    75   static bool is_recording();
    75 };
    76 };