@@ -7221,7 +7221,7 @@ int gc_heap::grow_brick_card_tables (uint8_t* start,
7221
7221
7222
7222
// Either this thread was the thread that did the suspension which means we are suspended; or this is called
7223
7223
// from a GC thread which means we are in a blocking GC and also suspended.
7224
- BOOL is_runtime_suspended = IsSuspendEEThread() || IsGCSpecialThread ();
7224
+ BOOL is_runtime_suspended = IsGCThread ();
7225
7225
if (!is_runtime_suspended)
7226
7226
{
7227
7227
// Note on points where the runtime is suspended anywhere in this function. Upon an attempt to suspend the
@@ -7268,7 +7268,7 @@ int gc_heap::grow_brick_card_tables (uint8_t* start,
7268
7268
// to be changed, so we are doing this after all global state has
7269
7269
// been updated. See the comment above suspend_EE() above for more
7270
7270
// info.
7271
- StompWriteBarrierResize(!!IsSuspendEEThread (), la != saved_g_lowest_address);
7271
+ StompWriteBarrierResize(!!IsGCThread (), la != saved_g_lowest_address);
7272
7272
}
7273
7273
7274
7274
// We need to make sure that other threads executing checked write barriers
@@ -15320,7 +15320,7 @@ void gc_heap::gc1()
15320
15320
if (!settings.concurrent)
15321
15321
#endif //BACKGROUND_GC
15322
15322
{
15323
- adjust_ephemeral_limits(!!IsSuspendEEThread ());
15323
+ adjust_ephemeral_limits(!!IsGCThread ());
15324
15324
}
15325
15325
15326
15326
#ifdef BACKGROUND_GC
@@ -16167,7 +16167,7 @@ BOOL gc_heap::expand_soh_with_minimal_gc()
16167
16167
dd_gc_new_allocation (dynamic_data_of (max_generation)) -= ephemeral_size;
16168
16168
dd_new_allocation (dynamic_data_of (max_generation)) = dd_gc_new_allocation (dynamic_data_of (max_generation));
16169
16169
16170
- adjust_ephemeral_limits(!!IsSuspendEEThread ());
16170
+ adjust_ephemeral_limits(!!IsGCThread ());
16171
16171
return TRUE;
16172
16172
}
16173
16173
else
0 commit comments