Bug 129832

Summary: JSC should hook into malloc introspection API to enable malloc stack logging for JSC heap objects
Product: WebKit Reporter: Mark Hahnenberg <mhahnenberg>
Component: JavaScriptCoreAssignee: Mark Hahnenberg <mhahnenberg>
Status: NEW ---    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

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.