Revision: 13040
Author: [email protected]
Date: Fri Nov 23 04:22:16 2012
Log: Reset progress bar of object to 0 when RecordWrites changes
object color to grey.
BUG=v8:2423
Review URL: https://codereview.chromium.org/11308177
http://code.google.com/p/v8/source/detail?r=13040
Modified:
/branches/bleeding_edge/src/incremental-marking-inl.h
=======================================
--- /branches/bleeding_edge/src/incremental-marking-inl.h Mon Nov 19
08:20:22 2012
+++ /branches/bleeding_edge/src/incremental-marking-inl.h Fri Nov 23
04:22:16 2012
@@ -90,6 +90,10 @@
if (IsMarking()) {
MarkBit obj_bit = Marking::MarkBitFrom(obj);
if (Marking::IsBlack(obj_bit)) {
+ MemoryChunk* chunk = MemoryChunk::FromAddress(obj->address());
+ if (chunk->IsFlagSet(MemoryChunk::HAS_PROGRESS_BAR)) {
+ chunk->set_progress_bar(0);
+ }
BlackToGreyAndUnshift(obj, obj_bit);
RestartIfNotMarking();
}
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev