aboutsummaryrefslogtreecommitdiffstats
path: root/components/allocator/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* Strict import formatting (grouping and granularity) (#30325)Samson2023-09-111-3/+5
| | | | | * strict imports formatting * Reformat all imports
* Make Servo components use winapi 0.3Anthony Ramine2019-01-161-1/+1
|
* Update MPL license to https (part 4)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* `cargo fix --edition-idioms`Simon Sapin2018-11-081-5/+5
|
* Reorder importsPyfisch2018-11-061-2/+2
|
* Format remaining filesPyfisch2018-11-061-24/+16
|
* `cargo fix --edition`Simon Sapin2018-11-061-1/+1
|
* Format component allocator #21373kingdido9992018-08-161-17/+25
|
* Upgrade to rustc 1.28.0-nightly (b68432d56 2018-06-12)Simon Sapin2018-06-141-34/+13
|
* Upgrade to rustc 1.28.0-nightly (524ad9b9e 2018-05-29)Anthony Ramine2018-05-301-6/+1
| | | | Fixes https://github.com/servo/servo/issues/20844
* Revert "Upgrade to rustc 1.27.0-nightly (8a37c75a3 2018-05-02)"Josh Matthews2018-05-181-1/+6
| | | | This reverts commit 46ad8110172cfc9d8d420e8eb41863f3d394e24d.
* Upgrade to rustc 1.27.0-nightly (8a37c75a3 2018-05-02)Simon Sapin2018-05-041-6/+1
|
* Fork the jemallocator crate, fix for nightly-2018-04-15Simon Sapin2018-04-161-7/+77
| | | | | | | | | | | | | CC https://github.com/alexcrichton/jemallocator/pull/40, https://github.com/rust-lang/rust/pull/49669 The new version of jemallocator requires a more recent jemalloc https://github.com/alexcrichton/jemallocator/pull/34 which doesn’t build on our current Android toolchain https://github.com/jemalloc/jemalloc/issues/1175. To avoid blocking on figuring that out, duplicate ~70 lines from jemallocator and use the older jemalloc-sys directly.
* FreeType: don’t use usable_size() as deallocation sizeSimon Sapin2017-10-301-4/+13
| | | | | | | Instead use C-level malloc()/free() so that the size doesn’t need to be known during deallocation, since FreeType doesn’t provide it. Hopefully fixes https://github.com/servo/servo/issues/19058
* Stop relying on linking details of std’s default allocatorSimon Sapin2017-10-191-0/+62
We’ve been bitten before by symbol names changing: https://github.com/servo/heapsize/pull/46 and upstream is planning to stop using jemalloc by default: https://github.com/rust-lang/rust/issues/33082#issuecomment-309781465 So use the (relatively) new `#[global_allocator]` attribute to explicitly select the system allocator on Windows and jemalloc (now in an external crate) on other platforms. This choice matches current defaults.