Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/g1/heapRegionRemSet.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 | 1f1d373cd044 |
children | 39189caa2894 |
comparison
equal
deleted
inserted
replaced
20359:4d3a43351904 | 20360:833b0f92429a |
---|---|
286 _fine_eviction_sample_size = MAX2((size_t)4, max_entries_log); | 286 _fine_eviction_sample_size = MAX2((size_t)4, max_entries_log); |
287 _fine_eviction_stride = _max_fine_entries / _fine_eviction_sample_size; | 287 _fine_eviction_stride = _max_fine_entries / _fine_eviction_sample_size; |
288 } | 288 } |
289 | 289 |
290 _fine_grain_regions = NEW_C_HEAP_ARRAY3(PerRegionTablePtr, _max_fine_entries, | 290 _fine_grain_regions = NEW_C_HEAP_ARRAY3(PerRegionTablePtr, _max_fine_entries, |
291 mtGC, 0, AllocFailStrategy::RETURN_NULL); | 291 mtGC, CURRENT_PC, AllocFailStrategy::RETURN_NULL); |
292 | 292 |
293 if (_fine_grain_regions == NULL) { | 293 if (_fine_grain_regions == NULL) { |
294 vm_exit_out_of_memory(sizeof(void*)*_max_fine_entries, OOM_MALLOC_ERROR, | 294 vm_exit_out_of_memory(sizeof(void*)*_max_fine_entries, OOM_MALLOC_ERROR, |
295 "Failed to allocate _fine_grain_entries."); | 295 "Failed to allocate _fine_grain_entries."); |
296 } | 296 } |