mirror of
https://github.com/servo/servo.git
synced 2025-07-01 04:23:39 +01:00
Round hashglobe allocations up to the nearest page size.
MozReview-Commit-ID: 34KFtcwCkBB
This commit is contained in:
parent
98f370130d
commit
ef042899d2
8 changed files with 29 additions and 1 deletions
|
@ -52,3 +52,6 @@ impl fmt::Display for FailedAllocationError {
|
|||
self.reason.fmt(f)
|
||||
}
|
||||
}
|
||||
|
||||
// The size of memory pages on this system. Set when initializing geckolib.
|
||||
pub static SYSTEM_PAGE_SIZE: ::std::sync::atomic::AtomicUsize = ::std::sync::atomic::ATOMIC_USIZE_INIT;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue