hotspot/src/share/vm/memory/heapInspection.cpp
changeset 25946 1572c9f03fb9
parent 24424 2658d7834c6e
child 27880 afb974a04396
equal deleted inserted replaced
25902:7e9ffb1fe1df 25946:1572c9f03fb9
   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     }