Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

[x86/Linux] Fix the mistmatch between gc_thread_stub and GCThreadFunction #8336

Merged
merged 1 commit into from
Nov 29, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 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/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