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: | JavaScriptCore | Assignee: | Mark Hahnenberg <mhahnenberg> |
| Status: | NEW | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Mark Hahnenberg
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Mark Hahnenberg
We would have to disable inline object allocations in the JITs, but that's easily done with a runtime flag.