Bug 306065
| Summary: | [libpas] Change maximum medium-bitfit object size to 32k | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Marcus Plutowski <marcus_plutowski> |
| Component: | bmalloc | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | ggaren, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Marcus Plutowski
rdar://164222706
Currently, objects that are too large for the medium-segregated-heap of a pas_heap (e.g. in the present bmalloc_heap configuration, this is ~14k) fall through into the marge-bitfit-heap, skipping the medium-bitfit-heap entirely. By separating the page size of the two heaps (as is the case for small heaps) we can avoid this and achieve some memory savings.
This will require us to add a second page-header-table, but empirically the cost of this should be outweighed by the benefits.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Marcus Plutowski
Pull request: https://github.com/WebKit/WebKit/pull/57078
EWS
Committed 307140@main (ef24c55e1661): <https://commits.webkit.org/307140@main>
Reviewed commits have been landed. Closing PR #57078 and removing active labels.