src/share/vm/memory/heapInspection.cpp

changeset 7074
833b0f92429a
parent 6680
78bbf4d43a14
child 7535
7ae4e26cb1e0
equal deleted inserted replaced
7073:4d3a43351904 7074:833b0f92429a
133 _size_of_instances_in_words = 0; 133 _size_of_instances_in_words = 0;
134 _size = 0; 134 _size = 0;
135 _ref = (HeapWord*) Universe::boolArrayKlassObj(); 135 _ref = (HeapWord*) Universe::boolArrayKlassObj();
136 _buckets = 136 _buckets =
137 (KlassInfoBucket*) AllocateHeap(sizeof(KlassInfoBucket) * _num_buckets, 137 (KlassInfoBucket*) AllocateHeap(sizeof(KlassInfoBucket) * _num_buckets,
138 mtInternal, 0, AllocFailStrategy::RETURN_NULL); 138 mtInternal, CURRENT_PC, AllocFailStrategy::RETURN_NULL);
139 if (_buckets != NULL) { 139 if (_buckets != NULL) {
140 _size = _num_buckets; 140 _size = _num_buckets;
141 for (int index = 0; index < _size; index++) { 141 for (int index = 0; index < _size; index++) {
142 _buckets[index].initialize(); 142 _buckets[index].initialize();
143 } 143 }

mercurial