Chromium Code Reviews
Description[Isolates] Add heap pointer to all maps and use map->heap() more.
Other changes:
1. Spaces (NewSpace, PagedSpace etc) get heap_ member.
2. MarkCompactCollector already has heap_ - use it more.
3. Made Heap::ScavengeObject() a static to avoid pulling heap pointer until the slow path is taken.
4. Changed HEAP_PROFILE(Call) macro to be HEAP_PROFILE(heap, call) to avoid 2 Isolate::Current() that it had.
5. Heap::IterateDirtyRegions now passes heap pointer to a callback.
6. ScavengingVisitor::EvacuateObject and others use map->heap() to retrieve heap during GC.
Committed: http://code.google.com/p/v8/source/detail?r=5443
Patch Set 1 #Patch Set 2 : Cleanup after merge #Patch Set 3 : remove couple more "HEAP->" #Patch Set 4 : even more #
Total comments: 5
Messages
Total messages: 4 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||