Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NativeAOT] Refactored GCToEEInterface and RedhawkGCInterface implementations into separate files. #95991

Merged
merged 23 commits into from
Dec 16, 2023
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
unix build
  • Loading branch information
VSadov committed Dec 14, 2023
commit 96a33168d10f4db43d756226918fa8f1c8a1cbb5
4 changes: 2 additions & 2 deletions src/coreclr/nativeaot/Runtime/GCToEEInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,12 @@ void GCToEEInterface::GcScanRoots(promote_func* fn, int condemned, int max_gen,
while (pRoot != NULL)
{
STRESS_LOG2(LF_GC | LF_GCROOTS, LL_INFO100, "{ Scanning Thread's %p inline thread statics root %p. \n", pThread, pRoot);
RedhawkGCInterface::EnumGcRef((PTR_RtuObjectRef)&pRoot->m_threadStaticsBase, GCRK_Object, fn, sc);
RedhawkGCInterface::EnumGcRef((PTR_RtuObjectRef)&pRoot->m_threadStaticsBase, GCRK_Object, (void*)fn, sc);
pRoot = pRoot->m_next;
}

STRESS_LOG1(LF_GC | LF_GCROOTS, LL_INFO100, "{ Scanning Thread's %p thread statics root. \n", pThread);
RedhawkGCInterface::EnumGcRef((PTR_RtuObjectRef)pThread->GetThreadStaticStorage(), GCRK_Object, fn, sc);
RedhawkGCInterface::EnumGcRef((PTR_RtuObjectRef)pThread->GetThreadStaticStorage(), GCRK_Object, (void*)fn, sc);

STRESS_LOG1(LF_GC | LF_GCROOTS, LL_INFO100, "{ Starting scan of Thread %p\n", pThread);
sc->thread_under_crawl = pThread;
Expand Down