Skip to content

Commit

Permalink
Disabled the compaction phase of MarkSweep collector.
Browse files Browse the repository at this point in the history
  • Loading branch information
aarontabor committed Sep 23, 2015
1 parent 76b8994 commit d088469
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Collectors/MarkSweepCollector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ void MarkSweepCollector::collect(int reason) {

mark();
sweep();
/* Uncomment this to enable compaction
if (statFreedDuringThisGC > 0) {
compact();
updatePointers();
}
*/

postCollect();
}
Expand Down

0 comments on commit d088469

Please sign in to comment.