hotspot/src/share/vm/services/memoryService.hpp
changeset 32623 390a27af5657
parent 30764 fec48bf5a827
child 35061 be6025ebffea
equal deleted inserted replaced
32622:7ed47d0b888a 32623:390a27af5657
    78                                          MemoryManager* major_mgr) {
    78                                          MemoryManager* major_mgr) {
    79     add_generation_memory_pool(gen, major_mgr, NULL);
    79     add_generation_memory_pool(gen, major_mgr, NULL);
    80   }
    80   }
    81 
    81 
    82 
    82 
    83   static void add_psYoung_memory_pool(PSYoungGen* gen,
    83   static void add_psYoung_memory_pool(PSYoungGen* young_gen,
    84                                       MemoryManager* major_mgr,
    84                                       MemoryManager* major_mgr,
    85                                       MemoryManager* minor_mgr);
    85                                       MemoryManager* minor_mgr);
    86   static void add_psOld_memory_pool(PSOldGen* gen,
    86   static void add_psOld_memory_pool(PSOldGen* old_gen,
    87                                     MemoryManager* mgr);
    87                                     MemoryManager* mgr);
    88 
    88 
    89   static void add_g1YoungGen_memory_pool(G1CollectedHeap* g1h,
    89   static void add_g1YoungGen_memory_pool(G1CollectedHeap* g1h,
    90                                          MemoryManager* major_mgr,
    90                                          MemoryManager* major_mgr,
    91                                          MemoryManager* minor_mgr);
    91                                          MemoryManager* minor_mgr);
    95   static MemoryPool* add_space(ContiguousSpace* space,
    95   static MemoryPool* add_space(ContiguousSpace* space,
    96                                const char* name,
    96                                const char* name,
    97                                bool is_heap,
    97                                bool is_heap,
    98                                size_t max_size,
    98                                size_t max_size,
    99                                bool support_usage_threshold);
    99                                bool support_usage_threshold);
   100   static MemoryPool* add_survivor_spaces(DefNewGeneration* gen,
   100   static MemoryPool* add_survivor_spaces(DefNewGeneration* young_gen,
   101                                          const char* name,
   101                                          const char* name,
   102                                          bool is_heap,
   102                                          bool is_heap,
   103                                          size_t max_size,
   103                                          size_t max_size,
   104                                          bool support_usage_threshold);
   104                                          bool support_usage_threshold);
   105   static MemoryPool* add_gen(Generation* gen,
   105   static MemoryPool* add_gen(Generation* gen,
   159                        bool recordPreGCUsage, bool recordPeakUsage);
   159                        bool recordPreGCUsage, bool recordPeakUsage);
   160   static void gc_end(bool fullGC, bool recordPostGCUsage,
   160   static void gc_end(bool fullGC, bool recordPostGCUsage,
   161                      bool recordAccumulatedGCTime,
   161                      bool recordAccumulatedGCTime,
   162                      bool recordGCEndTime, bool countCollection,
   162                      bool recordGCEndTime, bool countCollection,
   163                      GCCause::Cause cause);
   163                      GCCause::Cause cause);
   164 
       
   165 
   164 
   166   static void oops_do(OopClosure* f);
   165   static void oops_do(OopClosure* f);
   167 
   166 
   168   static bool get_verbose() { return PrintGC; }
   167   static bool get_verbose() { return PrintGC; }
   169   static bool set_verbose(bool verbose);
   168   static bool set_verbose(bool verbose);