Mercurial > hg > graal-jvmci-8
comparison src/share/vm/memory/tenuredGeneration.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 | f95d63e2154a |
children | aaf61e68b255 |
comparison
equal
deleted
inserted
replaced
6174:74533f63b116 | 6197:d2a62e0f25eb |
---|---|
63 _the_space, _gen_counters); | 63 _the_space, _gen_counters); |
64 #ifndef SERIALGC | 64 #ifndef SERIALGC |
65 if (UseParNewGC && ParallelGCThreads > 0) { | 65 if (UseParNewGC && ParallelGCThreads > 0) { |
66 typedef ParGCAllocBufferWithBOT* ParGCAllocBufferWithBOTPtr; | 66 typedef ParGCAllocBufferWithBOT* ParGCAllocBufferWithBOTPtr; |
67 _alloc_buffers = NEW_C_HEAP_ARRAY(ParGCAllocBufferWithBOTPtr, | 67 _alloc_buffers = NEW_C_HEAP_ARRAY(ParGCAllocBufferWithBOTPtr, |
68 ParallelGCThreads); | 68 ParallelGCThreads, mtGC); |
69 if (_alloc_buffers == NULL) | 69 if (_alloc_buffers == NULL) |
70 vm_exit_during_initialization("Could not allocate alloc_buffers"); | 70 vm_exit_during_initialization("Could not allocate alloc_buffers"); |
71 for (uint i = 0; i < ParallelGCThreads; i++) { | 71 for (uint i = 0; i < ParallelGCThreads; i++) { |
72 _alloc_buffers[i] = | 72 _alloc_buffers[i] = |
73 new ParGCAllocBufferWithBOT(OldPLABSize, _bts); | 73 new ParGCAllocBufferWithBOT(OldPLABSize, _bts); |