Skip to content

Commit 824e212

Browse files
authored
Revert "Update ThreadCounts usage based on a change (#2324)" (#2452)
- Depends on dotnet/runtime#56346 - Reverted commit 3d57bee from PR #2324 since the relevant change to `ThreadCounts` was reverted in dotnet/runtime#56346
1 parent f2f3500 commit 824e212

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/SOS/Strike/strike.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8677,7 +8677,6 @@ DECLARE_API(ThreadPool)
86778677
do // while (false)
86788678
{
86798679
UINT64 ui64Value = 0;
8680-
UINT32 ui32Value = 0;
86818680

86828681
// Determine if the portable thread pool is enabled
86838682
if (FAILED(
@@ -8774,12 +8773,12 @@ DECLARE_API(ThreadPool)
87748773
accumulatedOffset += offset;
87758774

87768775
offset = GetValueFieldOffset(vCountsField.MTOfType, W("_data"));
8777-
if (offset < 0 || FAILED(MOVE(ui32Value, cdaTpInstance + accumulatedOffset + offset)))
8776+
if (offset < 0 || FAILED(MOVE(ui64Value, cdaTpInstance + accumulatedOffset + offset)))
87788777
{
87798778
ExtOut(" %s\n", "Failed to read PortableThreadPool._separated.counts._data");
87808779
break;
87818780
}
8782-
UINT32 data = ui32Value;
8781+
UINT64 data = ui64Value;
87838782

87848783
const UINT8 NumProcessingWorkShift = 0;
87858784
const UINT8 NumExistingThreadsShift = 16;

0 commit comments

Comments
 (0)