Ignore:
Timestamp:
Jan 29, 2011, 7:32:52 PM (15 years ago)
Author:
[email protected]
Message:

2011-01-28 Geoffrey Garen <[email protected]>

Reviewed by Maciej Stachowiak.

Some more Heap cleanup.
https://bugs.webkit.org/show_bug.cgi?id=53357


  • runtime/Heap.cpp: (JSC::Heap::reportExtraMemoryCostSlowCase): Renamed recordExtraCost to reportExtraMemoryCostSlowCase to match our naming conventions.

(JSC::Heap::capacity): Renamed size to capacity because this function
returns the capacity of the heap, including unused portions.

  • runtime/Heap.h: (JSC::Heap::globalData): (JSC::Heap::markedSpace): (JSC::Heap::machineStackMarker): (JSC::Heap::reportExtraMemoryCost): Moved statics to the top of the file. Moved ctor and dtor to the beginning of the class definition. Grouped functions by purpose.
  • runtime/MarkedSpace.cpp: (JSC::MarkedSpace::capacity): Renamed size to capacity because this function returns the capacity of the heap, including unused portions.
  • runtime/MarkedSpace.h: Removed statistics and the Statistics class because the same information can be gotten just by calling size() and capacity().
  • runtime/MemoryStatistics.cpp:
  • runtime/MemoryStatistics.h: Ditto.

2011-01-28 Geoffrey Garen <[email protected]>

Reviewed by Maciej Stachowiak.

Some more Heap cleanup.
https://bugs.webkit.org/show_bug.cgi?id=53357

Updated for JavaScriptCore changes.

  • Misc/WebCoreStatistics.mm: (+[WebCoreStatistics memoryStatistics]):

2011-01-28 Geoffrey Garen <[email protected]>

Reviewed by Maciej Stachowiak.

Some more Heap cleanup.
https://bugs.webkit.org/show_bug.cgi?id=53357


Updated for JavaScriptCore changes.

  • bindings/js/ScriptGCEvent.cpp: (WebCore::ScriptGCEvent::getHeapSize):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r77070 r77077  
     12011-01-28  Geoffrey Garen  <[email protected]>
     2
     3        Reviewed by Maciej Stachowiak.
     4
     5        Some more Heap cleanup.
     6        https://bugs.webkit.org/show_bug.cgi?id=53357
     7       
     8        * JavaScriptCore.exp:
     9        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: Updated exported symbols.
     10
     11        * runtime/Heap.cpp:
     12        (JSC::Heap::reportExtraMemoryCostSlowCase): Renamed recordExtraCost to
     13        reportExtraMemoryCostSlowCase to match our naming conventions.
     14
     15        (JSC::Heap::capacity): Renamed size to capacity because this function
     16        returns the capacity of the heap, including unused portions.
     17
     18        * runtime/Heap.h:
     19        (JSC::Heap::globalData):
     20        (JSC::Heap::markedSpace):
     21        (JSC::Heap::machineStackMarker):
     22        (JSC::Heap::reportExtraMemoryCost): Moved statics to the top of the file.
     23        Moved ctor and dtor to the beginning of the class definition. Grouped
     24        functions by purpose.
     25
     26        * runtime/MarkedSpace.cpp:
     27        (JSC::MarkedSpace::capacity): Renamed size to capacity because this
     28        function returns the capacity of the heap, including unused portions.
     29
     30        * runtime/MarkedSpace.h: Removed statistics and the Statistics class because
     31        the same information can be gotten just by calling size() and capacity().
     32
     33        * runtime/MemoryStatistics.cpp:
     34        * runtime/MemoryStatistics.h: Ditto.
     35
    1362011-01-29  Daniel Bates  <[email protected]>
    237
Note: See TracChangeset for help on using the changeset viewer.