Fix the mistmatch between gc_thread_stub and GCThreadFunction (dotnet/coreclr#8336)
authorJonghyun Park <parjong@gmail.com>
Tue, 29 Nov 2016 11:24:51 +0000 (20:24 +0900)
committerJan Vorlicek <janvorli@microsoft.com>
Tue, 29 Nov 2016 11:24:51 +0000 (12:24 +0100)
Commit migrated from https://github.com/dotnet/coreclr/commit/31c5791b1c81800703655f7d306b030e3cde9bd2

src/coreclr/src/gc/gc.cpp
src/coreclr/src/gc/gcpriv.h

index 991cdf1..9d1736c 100644 (file)
@@ -24711,7 +24711,7 @@ void gc_heap::compact_phase (int condemned_gen_number,
 #pragma warning(push)
 #pragma warning(disable:4702) // C4702: unreachable code: gc_thread_function may not return
 #endif //_MSC_VER
-void __stdcall gc_heap::gc_thread_stub (void* arg)
+void gc_heap::gc_thread_stub (void* arg)
 {
     ClrFlsSetThreadType (ThreadType_GC);
     STRESS_LOG_RESERVE_MEM (GC_STRESSLOG_MULTIPLY);
index 3c9e223..c088c34 100644 (file)
@@ -1224,7 +1224,7 @@ public:
     static 
     gc_heap* balance_heaps_loh (alloc_context* acontext, size_t size);
     static
-    void __stdcall gc_thread_stub (void* arg);
+    void gc_thread_stub (void* arg);
 #endif //MULTIPLE_HEAPS
 
     CObjectHeader* try_fast_alloc (size_t jsize);