mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Instrument FreeType allocations.
This will allow reporting of memory usage by FreeType instances, which are measured in the MiBs for LayoutWorker threads. This change also makes FreeType allocations happen with jemalloc instead of the system malloc, which is a good thing. Finally, the change documents some dubiousness involving FontContextHandle.
This commit is contained in:
parent
93a45c91d1
commit
1553fada53
4 changed files with 85 additions and 13 deletions
|
@ -16,6 +16,7 @@
|
|||
#[macro_use]
|
||||
extern crate log;
|
||||
|
||||
extern crate alloc;
|
||||
extern crate azure;
|
||||
#[macro_use] extern crate bitflags;
|
||||
extern crate fnv;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue