Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordotnet-bot <dotnet-bot@microsoft.com>2017-01-13 23:25:19 +0300
committerdotnet-bot <dotnet-bot@microsoft.com>2017-01-13 23:25:19 +0300
commite5678962aab23ce6bac2ba53185781c4467904be (patch)
treecfc46a7bfbf59d834759026cb47601d94d6b82c5 /src/Native/Runtime/windows
parent85dde75bf18711139278b6eeae7641ba1ea001a9 (diff)
This is the internal component of CoreRT#2485 (https://github.com/dotnet/corert/pull/2485), which ports a number of GC changes done within the last month or two from CoreCLR to CoreRT. The only changes to anything in Native/gc are:
1. Move an assert under #ifndef FEATURE_REDHAWK since it only is a useful assert on CoreCLR (https://github.com/dotnet/corert/pull/2485#issuecomment-271975502) 2. Add UNREFERENCED_PARAMETERs to things in gc.cpp and elsewhere that were producing warnings All other changes in Native/gc are directly from CoreCLR without modification. I have validated that I am able to do PerfView GC analysis with these changes (since the CoreCLR changes touched ETW eventing). [tfs-changeset: 1644465]
Diffstat (limited to 'src/Native/Runtime/windows')
-rw-r--r--src/Native/Runtime/windows/PalRedhawkMinWin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Native/Runtime/windows/PalRedhawkMinWin.cpp b/src/Native/Runtime/windows/PalRedhawkMinWin.cpp
index 49097edd3..87b52a1ec 100644
--- a/src/Native/Runtime/windows/PalRedhawkMinWin.cpp
+++ b/src/Native/Runtime/windows/PalRedhawkMinWin.cpp
@@ -1482,7 +1482,7 @@ void GCToOSInterface::YieldThread(uint32_t /*switchCount*/)
// flags - flags to control special settings like write watching
// Return:
// Starting virtual address of the reserved range
-void* GCToOSInterface::VirtualReserve(void* address, size_t size, size_t alignment, uint32_t flags)
+void* GCToOSInterface::VirtualReserve(size_t size, size_t alignment, uint32_t flags)
{
DWORD memFlags = (flags & VirtualReserveFlags::WriteWatch) ? (MEM_RESERVE | MEM_WRITE_WATCH) : MEM_RESERVE;
return ::VirtualAlloc(0, size, memFlags, PAGE_READWRITE);