Bug 294348
| Summary: | Allow profiling of libpas allocations on local allocator granularity | ||
|---|---|---|---|
| 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 | ||
David Degazio
We already have a lot of different profiling hooks that allow profiling logic to be injected into a lot of different code paths in libpas. However, it's hard to develop profiling policies that vary based on type of allocation or that are probabilistic. One nice mechanism for this is the local allocator, where at least for segregated allocations, we can toggle profiling for a specific local allocator based on some policy in the allocation medium-to-slow path, instead of burdening the fastest fast paths with additional logic. This can help us collect useful profiling information while reducing the impact on normal program performance characteristics.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
David Degazio
rdar://153125216
David Degazio
Pull request: https://github.com/WebKit/WebKit/pull/46670
EWS
Committed 296285@main (e9f91e517391): <https://commits.webkit.org/296285@main>
Reviewed commits have been landed. Closing PR #46670 and removing active labels.