summaryrefslogtreecommitdiff
path: root/src/gc/gcinterface.h
diff options
context:
space:
mode:
authorMaoni Stephens <Maoni0@users.noreply.github.com>2018-12-26 13:13:21 -0800
committerGitHub <noreply@github.com>2018-12-26 13:13:21 -0800
commitaa13ca95d633e9251fa040533d3d5650808455c0 (patch)
tree87e76cd95fdff758227e97ffb66a48f97c4550fb /src/gc/gcinterface.h
parent56e725e892cb67a373ac3e2121b9d667b6a40c03 (diff)
downloadcoreclr-aa13ca95d633e9251fa040533d3d5650808455c0.tar.gz
coreclr-aa13ca95d633e9251fa040533d3d5650808455c0.tar.bz2
coreclr-aa13ca95d633e9251fa040533d3d5650808455c0.zip
desktop port (#21523)
+alloc lock split into SOH and LOH +provisional mode to fix too many gen2 GCs triggered in low mem situation when the heap has heavy pinning fragmentation +better free list usage +premature OOM fixes +3 new configs: GCHeapAffinitizeMask, GCHighMemPercent, GCLOHThreshold (will be documented) YieldProcessor scaling factor is different on core due to the different implementation on core.
Diffstat (limited to 'src/gc/gcinterface.h')
-rw-r--r--src/gc/gcinterface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gc/gcinterface.h b/src/gc/gcinterface.h
index 6df1e66da8..72e0d9d184 100644
--- a/src/gc/gcinterface.h
+++ b/src/gc/gcinterface.h
@@ -718,7 +718,7 @@ public:
// "Fixes" an allocation context by binding its allocation pointer to a
// location on the heap.
- virtual void FixAllocContext(gc_alloc_context* acontext, bool lockp, void* arg, void* heap) = 0;
+ virtual void FixAllocContext(gc_alloc_context* acontext, void* arg, void* heap) = 0;
// Gets the total survived size plus the total allocated bytes on the heap.
virtual size_t GetCurrentObjSize() = 0;
@@ -733,7 +733,7 @@ public:
virtual void SetSuspensionPending(bool fSuspensionPending) = 0;
// Tells the GC how many YieldProcessor calls are equal to one scaled yield processor call.
- virtual void SetYieldProcessorScalingFactor(uint32_t yieldProcessorScalingFactor) = 0;
+ virtual void SetYieldProcessorScalingFactor(float yieldProcessorScalingFactor) = 0;
/*
============================================================================