[Webkit-unassigned] [Bug 109166] New: [V8] Call V8::AdjustAmountOfExternalAllocatedMemory() in sync with updating SerialziedScriptValue::m_data

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 7 03:12:47 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=109166

           Summary: [V8] Call V8::AdjustAmountOfExternalAllocatedMemory()
                    in sync with updating SerialziedScriptValue::m_data
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: haraken at chromium.org
                CC: abarth at webkit.org, ulan at chromium.org,
                    jsbell at chromium.org, alecflett at chromium.org


Currently V8::AdjustAmountOfExternalAllocatedMemory() is called when a MessageEvent() is created. This results in #if USE(V8) macros in WebCore/dom/MessageEvent.cpp.

Alternately, V8::AdjustAmountOfExternalAllocatedMemory() should be called from v8/SerializedScriptValue.cpp in sync with updating SerializedScriptValue::m_data.

In addition, to estimate the amount of memory used, we should use m_data.sizeInBytes() instead of m_data.length().

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list