Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions lib/Common/Memory/LargeHeapBucket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,15 +196,8 @@ LargeHeapBucket::PageHeapAlloc(Recycler * recycler, size_t sizeCat, size_t size,
char * memBlock = heapBlock->Alloc(size, attributes);
Assert(memBlock != nullptr);


if (this->largePageHeapBlockList)
{
HeapBlockList::Tail(this->largePageHeapBlockList)->SetNextBlock(heapBlock);
}
else
{
this->largePageHeapBlockList = heapBlock;
}
heapBlock->SetNextBlock(this->largePageHeapBlockList);
this->largePageHeapBlockList = heapBlock;

#if ENABLE_PARTIAL_GC
recycler->autoHeap.uncollectedNewPageCount += pageCount;
Expand Down