diff options
author | Jan Kotas <jkotas@microsoft.com> | 2016-02-24 22:41:19 -0800 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2016-02-24 22:44:20 -0800 |
commit | e1fd6dc6d5adf7c4107e60fdb8a6bcb5fc57069f (patch) | |
tree | 5e135f8dcb1907cf4fe1103c79fafbae929d1a78 /src/gc/handletablecore.cpp | |
parent | 81e977ce7be76c4bda86aeb952d13dc136998341 (diff) | |
download | coreclr-e1fd6dc6d5adf7c4107e60fdb8a6bcb5fc57069f.tar.gz coreclr-e1fd6dc6d5adf7c4107e60fdb8a6bcb5fc57069f.tar.bz2 coreclr-e1fd6dc6d5adf7c4107e60fdb8a6bcb5fc57069f.zip |
Update GC from CoreRT
https://github.com/dotnet/corert/tree/master/src/Native/gc d18f7e5d9fea784b4531aa8988fdad9f3a9cffc3
Diffstat (limited to 'src/gc/handletablecore.cpp')
-rw-r--r-- | src/gc/handletablecore.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gc/handletablecore.cpp b/src/gc/handletablecore.cpp index 27e04c4e35..5e077de8a2 100644 --- a/src/gc/handletablecore.cpp +++ b/src/gc/handletablecore.cpp @@ -1433,7 +1433,7 @@ uint32_t SegmentInsertBlockFromFreeListWorker(TableSegment *pSegment, uint32_t u if (uBlock >= uCommitLine) { // figure out where to commit next - LPVOID pvCommit = pSegment->rgValue + (uCommitLine * HANDLE_HANDLES_PER_BLOCK); + void * pvCommit = pSegment->rgValue + (uCommitLine * HANDLE_HANDLES_PER_BLOCK); // we should commit one more page of handles uint32_t dwCommit = g_SystemInfo.dwPageSize; @@ -1843,7 +1843,7 @@ void SegmentTrimExcessPages(TableSegment *pSegment) if (dwHi > dwLo) { // decommit the memory - GCToOSInterface::VirtualDecommit((LPVOID)dwLo, dwHi - dwLo); + GCToOSInterface::VirtualDecommit((void *)dwLo, dwHi - dwLo); // update the commit line pSegment->bCommitLine = (uint8_t)((dwLo - (size_t)pSegment->rgValue) / HANDLE_BYTES_PER_BLOCK); |