Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.cpp @ 263:12eea04c8b06
6672698: mangle_unused_area() should not remangle the entire heap at each collection.
Summary: Maintain a high water mark for the allocations in a space and mangle only up to that high water mark.
Reviewed-by: ysr, apetrusenko
author | jmasa |
---|---|
date | Wed, 09 Jul 2008 15:08:55 -0700 |
parents | 790e66e5fbac |
children | 850fdf70db2b |
comparison
equal
deleted
inserted
replaced
225:286bee59f34b | 263:12eea04c8b06 |
---|---|
52 _marking_task_size(CardTableModRefBS::card_size_in_words * BitsPerWord * | 52 _marking_task_size(CardTableModRefBS::card_size_in_words * BitsPerWord * |
53 CMSConcMarkMultiple), | 53 CMSConcMarkMultiple), |
54 _collector(NULL) | 54 _collector(NULL) |
55 { | 55 { |
56 _bt.set_space(this); | 56 _bt.set_space(this); |
57 initialize(mr, true); | 57 initialize(mr, SpaceDecorator::Clear, SpaceDecorator::Mangle); |
58 // We have all of "mr", all of which we place in the dictionary | 58 // We have all of "mr", all of which we place in the dictionary |
59 // as one big chunk. We'll need to decide here which of several | 59 // as one big chunk. We'll need to decide here which of several |
60 // possible alternative dictionary implementations to use. For | 60 // possible alternative dictionary implementations to use. For |
61 // now the choice is easy, since we have only one working | 61 // now the choice is easy, since we have only one working |
62 // implementation, namely, the simple binary tree (splaying | 62 // implementation, namely, the simple binary tree (splaying |