Bug 270592
| Summary: | Profile allocations and track allocation mode in libPAS | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | David Degazio <d_degazio> |
| Component: | bmalloc | Assignee: | David Degazio <d_degazio> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | ggaren, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=271487 | ||
David Degazio
rdar://122419407
We already have hooks at the bmalloc/WTF level to profile allocations, and categorize these allocations via compactible (can be referenced by a compact pointer) and a variety of non-compactible (e.g. JSCell, non-JSCell, in-Gigacage, etc) discriminators. Up until now we haven't added much profiling to allocation sites in libPAS, where the bulk of the allocation logic occurs, but it seems useful to be able to not only measure the amount of times we fastMalloc something, but also whether it hits the fast or slow path of a libPAS local allocator, for example.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
David Degazio
Pull request: https://github.com/WebKit/WebKit/pull/25551
EWS
Committed 275812@main (ce0c25336f53): <https://commits.webkit.org/275812@main>
Reviewed commits have been landed. Closing PR #25551 and removing active labels.