Skip to content

Commit

Permalink
Change type of LockOjectID and LockOwnerThreadID
Browse files Browse the repository at this point in the history
  • Loading branch information
gleocadie committed Jul 21, 2022
1 parent 1988694 commit 5fb79fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/coreclr/vm/ClrEtwAll.man
Original file line number Diff line number Diff line change
Expand Up @@ -1745,8 +1745,8 @@
<template tid="ContentionStart_V2">
<data name="ContentionFlags" inType="win:UInt8" map="ContentionFlagsMap" />
<data name="ClrInstanceID" inType="win:UInt16" />
<data name="LockObjectID" inType="win:UInt64" outType="win:HexInt64" />
<data name="LockOwnerThreadID" inType="win:UInt64" outType="win:HexInt64" />
<data name="LockObjectID" inType="win:Pointer" />
<data name="LockOwnerThreadID" inType="win:Pointer" />
<UserData>
<Contention xmlns="myNs">
<ContentionFlags> %1 </ContentionFlags>
Expand Down
2 changes: 1 addition & 1 deletion src/coreclr/vm/syncblk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2554,7 +2554,7 @@ BOOL AwareLock::EnterEpilogHelper(Thread* pCurThread, INT32 timeOut)
QueryPerformanceCounter(&startTicks);

// Fire a contention start event for a managed contention
FireEtwContentionStart_V2(ETW::ContentionLog::ContentionStructs::ManagedContention, GetClrInstanceId(), (ObjectID)OBJECTREFToObject(obj), (ThreadID)m_HoldingThread);
FireEtwContentionStart_V2(ETW::ContentionLog::ContentionStructs::ManagedContention, GetClrInstanceId(), OBJECTREFToObject(obj), m_HoldingThread);
}

// We cannot allow the AwareLock to be cleaned up underneath us by the GC.
Expand Down

0 comments on commit 5fb79fd

Please sign in to comment.