Mercurial > hg > truffle
comparison src/share/vm/memory/collectorPolicy.cpp @ 20360:833b0f92429a
8046598: Scalable Native memory tracking development
Summary: Enhance scalability of native memory tracking
Reviewed-by: coleenp, ctornqvi, gtriantafill
author | zgu |
---|---|
date | Wed, 27 Aug 2014 08:19:12 -0400 |
parents | 78bbf4d43a14 |
children | d63ce76a0f0e |
comparison
equal
deleted
inserted
replaced
20359:4d3a43351904 | 20360:833b0f92429a |
---|---|
967 _space_alignment = _gen_alignment = (uintx)Generation::GenGrain; | 967 _space_alignment = _gen_alignment = (uintx)Generation::GenGrain; |
968 _heap_alignment = compute_heap_alignment(); | 968 _heap_alignment = compute_heap_alignment(); |
969 } | 969 } |
970 | 970 |
971 void MarkSweepPolicy::initialize_generations() { | 971 void MarkSweepPolicy::initialize_generations() { |
972 _generations = NEW_C_HEAP_ARRAY3(GenerationSpecPtr, number_of_generations(), mtGC, 0, AllocFailStrategy::RETURN_NULL); | 972 _generations = NEW_C_HEAP_ARRAY3(GenerationSpecPtr, number_of_generations(), mtGC, CURRENT_PC, |
973 AllocFailStrategy::RETURN_NULL); | |
973 if (_generations == NULL) { | 974 if (_generations == NULL) { |
974 vm_exit_during_initialization("Unable to allocate gen spec"); | 975 vm_exit_during_initialization("Unable to allocate gen spec"); |
975 } | 976 } |
976 | 977 |
977 if (UseParNewGC) { | 978 if (UseParNewGC) { |