Ignore:
Timestamp:
Oct 5, 2011, 12:07:18 PM (14 years ago)
Author:
[email protected]
Message:

Add rudimentary filtering to write barriers
https://bugs.webkit.org/show_bug.cgi?id=69392

Reviewed by Filip Pizlo.

../../../../Volumes/Data/git/WebKit/OpenSource/Source/JavaScriptCore:

Add approximate filtering for write barriers based on the
target's mark bit. Also add some macros to support dumping
GC phase timings.

  • dfg/DFGJITCodeGenerator.cpp:

(JSC::DFG::JITCodeGenerator::markCellCard):

  • heap/Heap.cpp:

(JSC::GCTimer::GCTimerScope::GCTimerScope):
(JSC::GCTimer::GCTimerScope::~GCTimerScope):
(JSC::Heap::markRoots):
(JSC::Heap::collect):

Add phase timing information.

  • heap/MarkedBlock.h:

(JSC::MarkedBlock::offsetOfMarks):
(JSC::MarkedBlock::gatherDirtyCells):

  • jit/JITPropertyAccess.cpp:

(JSC::JIT::emitWriteBarrier):

../../../../Volumes/Data/git/WebKit/OpenSource/Tools:

When we're recording gc phase times Heap.o picks up
some exit time destructors, so we'll just ignore Heap.o
in this check.

  • Scripts/check-for-exit-time-destructors:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r96733 r96738  
     12011-10-04  Oliver Hunt  <[email protected]>
     2
     3        Add rudimentary filtering to write barriers
     4        https://bugs.webkit.org/show_bug.cgi?id=69392
     5
     6        Reviewed by Filip Pizlo.
     7
     8        Add approximate filtering for write barriers based on the
     9        target's mark bit.  Also add some macros to support dumping
     10        GC phase timings.
     11
     12        * dfg/DFGJITCodeGenerator.cpp:
     13        (JSC::DFG::JITCodeGenerator::markCellCard):
     14        * heap/Heap.cpp:
     15        (JSC::GCTimer::GCTimerScope::GCTimerScope):
     16        (JSC::GCTimer::GCTimerScope::~GCTimerScope):
     17        (JSC::Heap::markRoots):
     18        (JSC::Heap::collect):
     19           Add phase timing information.
     20        * heap/MarkedBlock.h:
     21        (JSC::MarkedBlock::offsetOfMarks):
     22        (JSC::MarkedBlock::gatherDirtyCells):
     23        * jit/JITPropertyAccess.cpp:
     24        (JSC::JIT::emitWriteBarrier):
     25
    1262011-10-05  Anders Carlsson  <[email protected]>
    227
Note: See TracChangeset for help on using the changeset viewer.