Changeset 121196 in webkit for trunk/Source/JavaScriptCore


Ignore:
Timestamp:
Jun 25, 2012, 5:08:19 PM (13 years ago)
Author:
[email protected]
Message:

[BlackBerry] Add JSC statistics into about:memory
https://bugs.webkit.org/show_bug.cgi?id=89779

Patch by Yong Li <[email protected]> on 2012-06-25
Reviewed by Rob Buis.

Source/JavaScriptCore:

Add MemoryStatistics.cpp into build, and fill JITBytes for BlackBerry port.

  • PlatformBlackBerry.cmake:
  • runtime/MemoryStatistics.cpp:

(JSC::globalMemoryStatistics):

Source/WebKit/blackberry:

Add detailed JS memory statistics to about:memory page.

  • WebCoreSupport/AboutData.cpp:

(WebCore::dumpJSCTypeCountSetToTableHTML):
(WebCore):
(WebCore::memoryPage):

Source/WTF:

Turn on WTF_USE_EXPORT_MACROS for BlackBerry port.
This will make macros like JS_EXPORT_PRIVATE work without
extra porting.

  • wtf/Platform.h:
Location:
trunk/Source/JavaScriptCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r121098 r121196  
     12012-06-25  Yong Li  <[email protected]>
     2
     3        [BlackBerry] Add JSC statistics into about:memory
     4        https://bugs.webkit.org/show_bug.cgi?id=89779
     5
     6        Reviewed by Rob Buis.
     7
     8        Add MemoryStatistics.cpp into build, and fill JITBytes for BlackBerry port.
     9
     10        * PlatformBlackBerry.cmake:
     11        * runtime/MemoryStatistics.cpp:
     12        (JSC::globalMemoryStatistics):
     13
    1142012-06-23  Sheriff Bot  <[email protected]>
    215
  • trunk/Source/JavaScriptCore/PlatformBlackBerry.cmake

    r120502 r121196  
    99LIST(APPEND JavaScriptCore_SOURCES
    1010    runtime/GCActivityCallbackBlackBerry.cpp
     11    runtime/MemoryStatistics.cpp
    1112)
    1213
  • trunk/Source/JavaScriptCore/runtime/MemoryStatistics.cpp

    r95901 r121196  
    3838
    3939    stats.stackBytes = RegisterFile::committedByteCount();
    40 #if ENABLE(EXECUTABLE_ALLOCATOR_FIXED)
     40#if ENABLE(EXECUTABLE_ALLOCATOR_FIXED) || PLATFORM(BLACKBERRY)
    4141    stats.JITBytes = ExecutableAllocator::committedByteCount();
    4242#else
Note: See TracChangeset for help on using the changeset viewer.