summaryrefslogtreecommitdiff
path: root/src/vm/threadpoolrequest.cpp
diff options
context:
space:
mode:
authorSteve MacLean <sdmaclea.qdt@qualcommdatacenter.com>2017-08-01 13:11:55 -0400
committerJan Vorlicek <janvorli@microsoft.com>2017-08-01 19:11:55 +0200
commit98d20f3d843356935edc194706b1d8640b048add (patch)
treeae024df7b25f458685ec4766b36fd099c44a6430 /src/vm/threadpoolrequest.cpp
parent52564c8235a95791eef17ee56e14fd903fd23565 (diff)
downloadcoreclr-98d20f3d843356935edc194706b1d8640b048add.tar.gz
coreclr-98d20f3d843356935edc194706b1d8640b048add.tar.bz2
coreclr-98d20f3d843356935edc194706b1d8640b048add.zip
[Arm64] Adjust alignment for 128 byte cache line (#12801)
Diffstat (limited to 'src/vm/threadpoolrequest.cpp')
-rw-r--r--src/vm/threadpoolrequest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vm/threadpoolrequest.cpp b/src/vm/threadpoolrequest.cpp
index a1ec4b087e..f52de8cf41 100644
--- a/src/vm/threadpoolrequest.cpp
+++ b/src/vm/threadpoolrequest.cpp
@@ -27,13 +27,13 @@
#include "nativeoverlapped.h"
#include "appdomain.inl"
-BYTE PerAppDomainTPCountList::s_padding[64 - sizeof(LONG)];
+BYTE PerAppDomainTPCountList::s_padding[MAX_CACHE_LINE_SIZE - sizeof(LONG)];
// Make this point to unmanaged TP in case, no appdomains have initialized yet.
// Cacheline aligned, hot variable
-DECLSPEC_ALIGN(64) LONG PerAppDomainTPCountList::s_ADHint = -1;
+DECLSPEC_ALIGN(MAX_CACHE_LINE_SIZE) LONG PerAppDomainTPCountList::s_ADHint = -1;
// Move out of from preceeding variables' cache line
-DECLSPEC_ALIGN(64) UnManagedPerAppDomainTPCount PerAppDomainTPCountList::s_unmanagedTPCount;
+DECLSPEC_ALIGN(MAX_CACHE_LINE_SIZE) UnManagedPerAppDomainTPCount PerAppDomainTPCountList::s_unmanagedTPCount;
//The list of all per-appdomain work-request counts.
ArrayListStatic PerAppDomainTPCountList::s_appDomainIndexList;