Skip to content

Commit

Permalink
Fix the mistmatch between gc_thread_stub and GCThreadFunction (dotnet…
Browse files Browse the repository at this point in the history
  • Loading branch information
parjong authored and janvorli committed Nov 29, 2016
1 parent b4e9767 commit 42fc2fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/coreclr/src/gc/gc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/coreclr/src/gc/gcpriv.h
Original file line number Diff line number Diff line change
Expand Up @@ -1224,7 +1224,7 @@ class gc_heap
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);
Expand Down

0 comments on commit 42fc2fb

Please sign in to comment.