< prev index next >

src/hotspot/share/cds/dumpAllocStats.hpp

Print this page

 91   void record_modules(int byte_size, bool read_only) {
 92     int which = (read_only) ? RO : RW;
 93     _bytes [which][ModulesNativesType] += byte_size;
 94   }
 95 
 96   void record_other_type(int byte_size, bool read_only) {
 97     int which = (read_only) ? RO : RW;
 98     _bytes [which][OtherType] += byte_size;
 99   }
100 
101   void record_cpp_vtables(int byte_size) {
102     _bytes[RW][CppVTablesType] += byte_size;
103   }
104 
105   void record_klass_cp_entry(bool archived) {
106     _num_klass_cp_entries ++;
107     _num_klass_cp_entries_archived += archived ? 1 : 0;
108   }
109 
110   void print_stats(int ro_all, int rw_all);



111 };
112 
113 #endif // SHARE_CDS_DUMPALLOCSTATS_HPP

 91   void record_modules(int byte_size, bool read_only) {
 92     int which = (read_only) ? RO : RW;
 93     _bytes [which][ModulesNativesType] += byte_size;
 94   }
 95 
 96   void record_other_type(int byte_size, bool read_only) {
 97     int which = (read_only) ? RO : RW;
 98     _bytes [which][OtherType] += byte_size;
 99   }
100 
101   void record_cpp_vtables(int byte_size) {
102     _bytes[RW][CppVTablesType] += byte_size;
103   }
104 
105   void record_klass_cp_entry(bool archived) {
106     _num_klass_cp_entries ++;
107     _num_klass_cp_entries_archived += archived ? 1 : 0;
108   }
109 
110   void print_stats(int ro_all, int rw_all);
111 
112   DEBUG_ONLY(void verify(int expected_byte_size, bool read_only) const);
113 
114 };
115 
116 #endif // SHARE_CDS_DUMPALLOCSTATS_HPP
< prev index next >