Bug 129832 - JSC should hook into malloc introspection API to enable malloc stack logging for JSC heap objects
Summary: JSC should hook into malloc introspection API to enable malloc stack logging ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mark Hahnenberg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-06 15:03 PST by Mark Hahnenberg
Modified: 2014-03-06 15:03 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Hahnenberg 2014-03-06 15:03:06 PST
This would be awesome. We enabled this for FastMalloc, and although the JSC allocator isn't technically a malloc, it might be able to give some meaningful information about where JS objects are being allocated. I'm not sure how invasive it would be though.
Comment 1 Mark Hahnenberg 2014-03-06 15:03:34 PST
We would have to disable inline object allocations in the JITs, but that's easily done with a runtime flag.