From 87ce5ebd7237f6cc5f5bcae7d991371e6a77860b Mon Sep 17 00:00:00 2001 From: Elinor Fung Date: Thu, 15 Aug 2024 09:26:46 -0700 Subject: [PATCH] [cdac] Fix ThreadStoreData finalizer and GC thread (#106435) --- src/native/managed/cdacreader/src/Contracts/Thread.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/native/managed/cdacreader/src/Contracts/Thread.cs b/src/native/managed/cdacreader/src/Contracts/Thread.cs index 212807870990c..88308b23c1ee4 100644 --- a/src/native/managed/cdacreader/src/Contracts/Thread.cs +++ b/src/native/managed/cdacreader/src/Contracts/Thread.cs @@ -88,8 +88,8 @@ ThreadStoreData IThread.GetThreadStoreData() return new ThreadStoreData( threadStore.ThreadCount, GetThreadFromLink(threadStore.FirstThreadLink), - _target.ReadGlobalPointer(Constants.Globals.FinalizerThread), - _target.ReadGlobalPointer(Constants.Globals.GCThread)); + _target.ReadPointer(_target.ReadGlobalPointer(Constants.Globals.FinalizerThread)), + _target.ReadPointer(_target.ReadGlobalPointer(Constants.Globals.GCThread))); } ThreadStoreCounts IThread.GetThreadCounts()