Changeset 190881 in webkit


Ignore:
Timestamp:
Oct 12, 2015 12:36:03 PM (9 years ago)
Author:
commit-queue@webkit.org
Message:

VisitedValueCount GC Counter misses parallel SlotVisitors
https://bugs.webkit.org/show_bug.cgi?id=149980

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2015-10-12
Reviewed by Geoffrey Garen.

  • heap/Heap.cpp:

(JSC::Heap::updateObjectCounts):
Include threaded slot visitor's object counts in the debugging value.

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r190878 r190881  
     12015-10-12  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        VisitedValueCount GC Counter misses parallel SlotVisitors
     4        https://bugs.webkit.org/show_bug.cgi?id=149980
     5
     6        Reviewed by Geoffrey Garen.
     7
     8        * heap/Heap.cpp:
     9        (JSC::Heap::updateObjectCounts):
     10        Include threaded slot visitor's object counts in the debugging value.
     11
    1122015-10-12  Filip Pizlo  <fpizlo@apple.com>
    213
  • trunk/Source/JavaScriptCore/heap/Heap.cpp

    r190827 r190881  
    852852void Heap::updateObjectCounts(double gcStartTime)
    853853{
    854     GCCOUNTER(VisitedValueCount, m_slotVisitor.visitCount());
     854    GCCOUNTER(VisitedValueCount, m_slotVisitor.visitCount() + threadVisitCount());
    855855
    856856    if (Options::logGC() == GCLogging::Verbose) {
Note: See TracChangeset for help on using the changeset viewer.