[Webkit-unassigned] [Bug 100350] New: Web Inspector: reduce backend memory footprint. Share script sources with v8 and resource loaders.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 25 01:23:42 PDT 2012


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

           Summary: Web Inspector: reduce backend memory footprint. Share
                    script sources with v8 and resource loaders.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: loislo at chromium.org
                CC: keishi at webkit.org, pmuellr at yahoo.com,
                    pfeldman at chromium.org, yurys at chromium.org,
                    apavlov at chromium.org, loislo at chromium.org,
                    vsevik at chromium.org,
                    web-inspector-bugs at googlegroups.com


I realized that we keep at least two copies of scripts.
This is the second place where we have script sources.

0 WTF::fastMalloc(unsigned long)
1 WTF::StringImpl::createUninitialized(unsigned int, unsigned short*&)
2 WTF::String::createUninitialized(unsigned int, unsigned short*&)
3 WebCore::StringTraits<WTF::String>::fromV8String(v8::Handle<v8::String>, int)
4 WTF::String WebCore::v8StringToWebCoreString<WTF::String>(v8::Handle<v8::String>, WebCore::ExternalMode)
5 WebCore::toWebCoreString(v8::Handle<v8::Value>)
6 WebCore::toWebCoreStringWithNullOrUndefinedCheck(v8::Handle<v8::Value>)
7 WebCore::ScriptDebugServer::dispatchDidParseSource(WebCore::ScriptDebugListener*, v8::Handle<v8::Object>)
8 WebCore::PageScriptDebugServer::addListener(WebCore::ScriptDebugListener*, WebCore::Page*)
9 WebCore::PageDebuggerAgent::startListeningScriptDebugServer()
10 WebCore::InspectorDebuggerAgent::enable()
11 WebCore::InspectorDebuggerAgent::enable(WTF::String*)
12 non-virtual thunk to WebCore::InspectorDebuggerAgent::enable(WTF::String*)
13 WebCore::InspectorBackendDispatcherImpl::Debugger_enable(long, WebCore::InspectorObject*)
14 WebCore::InspectorBackendDispatcherImpl::dispatch(WTF::String const&)

-- 
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