comparison src/share/vm/opto/macro.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 5e990493719e
children da91efe96a93
comparison
equal deleted inserted replaced
6174:74533f63b116 6197:d2a62e0f25eb
407 } 407 }
408 Node *start_mem = C->start()->proj_out(TypeFunc::Memory); 408 Node *start_mem = C->start()->proj_out(TypeFunc::Memory);
409 Node *alloc_mem = alloc->in(TypeFunc::Memory); 409 Node *alloc_mem = alloc->in(TypeFunc::Memory);
410 410
411 uint length = mem->req(); 411 uint length = mem->req();
412 GrowableArray <Node *> values(length, length, NULL); 412 GrowableArray <Node *> values(length, length, NULL, false);
413 413
414 // create a new Phi for the value 414 // create a new Phi for the value
415 PhiNode *phi = new (C, length) PhiNode(mem->in(0), phi_type, NULL, instance_id, alias_idx, offset); 415 PhiNode *phi = new (C, length) PhiNode(mem->in(0), phi_type, NULL, instance_id, alias_idx, offset);
416 transform_later(phi); 416 transform_later(phi);
417 value_phis->push(phi, mem->_idx); 417 value_phis->push(phi, mem->_idx);