mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-06-11 14:22:58 -06:00
Core: Heap improved
git-svn-id: svn://ultimatepp.org/upp/trunk@13412 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
86e91ce872
commit
89e717ef0d
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ void *Heap::LAlloc(size_t& size)
|
|||
aux.LargeFreeRemoteRaw();
|
||||
#if 1
|
||||
ptr = aux.TryLAlloc(i0, wcount);
|
||||
if(ptr) {
|
||||
if(ptr) { // found in aux, we need to move large page from aux to this heap
|
||||
LLOG("Found in aux");
|
||||
BlkPrefix *h = (BlkPrefix *)ptr - 1;
|
||||
while(!h->IsFirst()) // find the start of large page to get page header
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue