summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonghyun Park <parjong@gmail.com>2016-11-29 20:24:51 +0900
committerJan Vorlicek <janvorli@microsoft.com>2016-11-29 12:24:51 +0100
commit31c5791b1c81800703655f7d306b030e3cde9bd2 (patch)
tree12d3d2955d4454abb455a887d75ae6fde450fd57
parent3f85c4c9c5a0ad78a4ed0f12c389b5c50c4527d6 (diff)
downloadcoreclr-31c5791b1c81800703655f7d306b030e3cde9bd2.tar.gz
coreclr-31c5791b1c81800703655f7d306b030e3cde9bd2.tar.bz2
coreclr-31c5791b1c81800703655f7d306b030e3cde9bd2.zip
Fix the mistmatch between gc_thread_stub and GCThreadFunction (#8336)
-rw-r--r--src/gc/gc.cpp2
-rw-r--r--src/gc/gcpriv.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gc/gc.cpp b/src/gc/gc.cpp
index 991cdf1288..9d1736c26b 100644
--- a/src/gc/gc.cpp
+++ b/src/gc/gc.cpp
@@ -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);
diff --git a/src/gc/gcpriv.h b/src/gc/gcpriv.h
index 3c9e2234a8..c088c34239 100644
--- a/src/gc/gcpriv.h
+++ b/src/gc/gcpriv.h
@@ -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);