Bug 283010
| Summary: | Check if allocation profiling is enabled during WTF config initialization | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | David Degazio <d_degazio> |
| Component: | WebKit Misc. | Assignee: | David Degazio <d_degazio> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | Keywords: | InRadar |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
David Degazio
rdar://139745080
Currently, allocation profiling can be enabled via JSC option. However, it's totally possible for us to do allocations using bmalloc or libpas before JSC initialization occurs. In order to include these allocations, we should move this check into WTF initialization, specifically when we're setting up the config since that's when the reserved config byte for allocation profiling becomes writable.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
David Degazio
Pull request: https://github.com/WebKit/WebKit/pull/36554
EWS
Committed 286610@main (70d143746f90): <https://commits.webkit.org/286610@main>
Reviewed commits have been landed. Closing PR #36554 and removing active labels.