| Index: src/spaces.h
|
| ===================================================================
|
| --- src/spaces.h (revision 10578)
|
| +++ src/spaces.h (working copy)
|
| @@ -720,6 +720,10 @@
|
| void ClearSweptPrecisely() { ClearFlag(WAS_SWEPT_PRECISELY); }
|
| void ClearSweptConservatively() { ClearFlag(WAS_SWEPT_CONSERVATIVELY); }
|
|
|
| + static Map* MapFromIntraPageOffset(int32_t offset);
|
| +
|
| + Address RoundUpToObjectAlignment(Address a);
|
| +
|
| #ifdef DEBUG
|
| void Print();
|
| #endif // DEBUG
|
| @@ -989,11 +993,13 @@
|
|
|
| Address ReserveAlignedMemory(size_t requested,
|
| size_t alignment,
|
| - VirtualMemory* controller);
|
| + VirtualMemory* controller,
|
| + intptr_t preferred_placement = 0);
|
| Address AllocateAlignedMemory(size_t requested,
|
| size_t alignment,
|
| Executability executable,
|
| - VirtualMemory* controller);
|
| + VirtualMemory* controller,
|
| + intptr_t preferred_placement = 0);
|
|
|
| void FreeMemory(VirtualMemory* reservation, Executability executable);
|
| void FreeMemory(Address addr, size_t size, Executability executable);
|
|
|