mirror of
https://github.com/vale981/ray
synced 2025-03-09 12:56:46 -04:00
restore variable declaration
This commit is contained in:
parent
eaf5fe55da
commit
73221db997
1 changed files with 1 additions and 0 deletions
|
@ -210,6 +210,7 @@ uint8_t *PlasmaStore::AllocateMemory(size_t size, MEMFD_TYPE *fd, int64_t *map_s
|
||||||
|
|
||||||
// Try to evict objects until there is enough space.
|
// Try to evict objects until there is enough space.
|
||||||
uint8_t *pointer = nullptr;
|
uint8_t *pointer = nullptr;
|
||||||
|
int num_tries = 0;
|
||||||
while (true) {
|
while (true) {
|
||||||
// Allocate space for the new object. We use memalign instead of malloc
|
// Allocate space for the new object. We use memalign instead of malloc
|
||||||
// in order to align the allocated region to a 64-byte boundary. This is not
|
// in order to align the allocated region to a 64-byte boundary. This is not
|
||||||
|
|
Loading…
Add table
Reference in a new issue