Skip to content

Commit e6a14fe

Browse files
committed
remove one unnecessary stack barrier update
while etw rundown, this can happen in another thread which does not have card table initialized for its stack
1 parent a123fdf commit e6a14fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Runtime/Base/AuxPtrs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ namespace Js
207207
template<class T, typename FieldsEnum>
208208
inline void* AuxPtrs<T, FieldsEnum>::GetAuxPtr(const T* host, FieldsEnum e)
209209
{
210-
auto tmpAuxPtrs = host->auxPtrs;
210+
auto tmpAuxPtrs = PointerValue(host->auxPtrs);
211211
if (tmpAuxPtrs->count == AuxPtrs16::MaxCount)
212212
{
213213
return ((AuxPtrs16*)(void*)tmpAuxPtrs)->Get(e);

0 commit comments

Comments
 (0)