comparison src/share/vm/classfile/systemDictionary.cpp @ 6197:d2a62e0f25eb

6995781: Native Memory Tracking (Phase 1) 7151532: DCmd for hotspot native memory tracking Summary: Implementation of native memory tracking phase 1, which tracks VM native memory usage, and related DCmd Reviewed-by: acorn, coleenp, fparain
author zgu
date Thu, 28 Jun 2012 17:03:16 -0400
parents 71afdabfd05b
children e74da3c2b827
comparison
equal deleted inserted replaced
6174:74533f63b116 6197:d2a62e0f25eb
1166 1166
1167 return k(); 1167 return k();
1168 } 1168 }
1169 1169
1170 1170
1171 void SystemDictionary::set_shared_dictionary(HashtableBucket* t, int length, 1171 void SystemDictionary::set_shared_dictionary(HashtableBucket<mtClass>* t, int length,
1172 int number_of_entries) { 1172 int number_of_entries) {
1173 assert(length == _nof_buckets * sizeof(HashtableBucket), 1173 assert(length == _nof_buckets * sizeof(HashtableBucket<mtClass>),
1174 "bad shared dictionary size."); 1174 "bad shared dictionary size.");
1175 _shared_dictionary = new Dictionary(_nof_buckets, t, number_of_entries); 1175 _shared_dictionary = new Dictionary(_nof_buckets, t, number_of_entries);
1176 } 1176 }
1177 1177
1178 1178