src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointManager.hpp
branchJEP-349-branch
changeset 57934 9c150f2b1fea
parent 57882 562f598d303c
child 57983 a57907813a83
equal deleted inserted replaced
57922:6598f2825b1f 57934:9c150f2b1fea
    86   void shift_epoch();
    86   void shift_epoch();
    87   void synchronize_epoch();
    87   void synchronize_epoch();
    88   bool use_epoch_transition_mspace(const Thread* t) const;
    88   bool use_epoch_transition_mspace(const Thread* t) const;
    89   void notify_threads();
    89   void notify_threads();
    90   void notify_types_on_rotation();
    90   void notify_types_on_rotation();
       
    91   bool is_type_set_required();
       
    92   bool is_constant_set_required();
    91 
    93 
    92   JfrCheckpointManager(JfrChunkWriter& cw);
    94   JfrCheckpointManager(JfrChunkWriter& cw);
    93   ~JfrCheckpointManager();
    95   ~JfrCheckpointManager();
    94 
    96 
    95   static JfrCheckpointManager& instance();
    97   static JfrCheckpointManager& instance();
    97   bool initialize();
    99   bool initialize();
    98   static void destroy();
   100   static void destroy();
    99 
   101 
   100  public:
   102  public:
   101   void register_service_thread(const Thread* t);
   103   void register_service_thread(const Thread* t);
   102   bool is_type_set_checkpoint_required() const;
       
   103   size_t flush_type_set();
   104   size_t flush_type_set();
       
   105   void flush_constant_set();
   104   static void write_type_set_for_unloaded_classes();
   106   static void write_type_set_for_unloaded_classes();
   105   static void create_thread_checkpoint(Thread* t);
   107   static void create_thread_checkpoint(Thread* t);
   106   static void write_thread_checkpoint(Thread* t);
   108   static void write_thread_checkpoint(Thread* t);
   107 
   109 
   108   friend class JfrRecorder;
   110   friend class JfrRecorder;