Bug 194013 - [JSC] Lazily initialize RemoteInspector functionalities
Summary: [JSC] Lazily initialize RemoteInspector functionalities
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Yusuke Suzuki
Depends on:
Blocks: 193606
  Show dependency treegraph
Reported: 2019-01-30 02:05 PST by Yusuke Suzuki
Modified: 2019-02-05 10:40 PST (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Yusuke Suzuki 2019-01-30 02:05:33 PST
JSGlobalObject always allocate RemoteInspector related objects. We should allocate them lazily as much as possible.
Maybe, we should open a connection, and once RemoteInspector is attached, we should start instantiating various objects.
We also need to make some of objects FAST_MALLOCED (it seems that some of them are allocated in the system malloc).