summaryrefslogtreecommitdiff
path: root/src/gc
diff options
context:
space:
mode:
authorXiangyang (Mark) Guo <xiangyang.guo@intel.com>2017-09-26 17:11:55 -0700
committerJan Vorlicek <janvorli@microsoft.com>2017-09-27 02:11:55 +0200
commit73ef3c13c9b710cb04b67a904b098fb196c224c7 (patch)
treec112694a3b52eea9cfbceace9fbfc0dfda8b6145 /src/gc
parent44f570e6efc8e908cebaef8d98b36f1b0c6f5c4a (diff)
downloadcoreclr-73ef3c13c9b710cb04b67a904b098fb196c224c7.tar.gz
coreclr-73ef3c13c9b710cb04b67a904b098fb196c224c7.tar.bz2
coreclr-73ef3c13c9b710cb04b67a904b098fb196c224c7.zip
Add SetThreadIdealProcessorEx PAL API (#13606)
* add SetThreadIdealProcessorEx PAL API * fix lpPreviousIdealProcessor
Diffstat (limited to 'src/gc')
-rw-r--r--src/gc/gc.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gc/gc.cpp b/src/gc/gc.cpp
index 89454c6bb0..779b1b3259 100644
--- a/src/gc/gc.cpp
+++ b/src/gc/gc.cpp
@@ -13351,7 +13351,6 @@ try_again:
org_hp->alloc_context_count--;
max_hp->alloc_context_count++;
acontext->set_alloc_heap(GCHeap::GetHeap(max_hp->heap_number));
-#if !defined(FEATURE_PAL)
if (CPUGroupInfo::CanEnableGCCPUGroups())
{ //only set ideal processor when max_hp and org_hp are in the same cpu
//group. DO NOT MOVE THREADS ACROSS CPU GROUPS
@@ -13385,7 +13384,6 @@ try_again:
org_hp->heap_number));
}
}
-#endif // !FEATURE_PAL
dprintf (3, ("Switching context %p (home heap %d) ",
acontext,
acontext->get_home_heap()->pGenGCHeap->heap_number));