comparison src/share/vm/gc_implementation/parallelScavenge/psMarkSweepDecorator.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 ba764ed4b6f2
children 850fdf70db2b
comparison
equal deleted inserted replaced
225:286bee59f34b 263:12eea04c8b06
436 436
437 assert(compaction_top() >= space()->bottom() && compaction_top() <= space()->end(), 437 assert(compaction_top() >= space()->bottom() && compaction_top() <= space()->end(),
438 "should point inside space"); 438 "should point inside space");
439 space()->set_top(compaction_top()); 439 space()->set_top(compaction_top());
440 440
441 if (mangle_free_space) space()->mangle_unused_area(); 441 if (mangle_free_space) {
442 } 442 space()->mangle_unused_area();
443 }
444 }