BackgroundGC check (#3497)
authorAndrew Au <andrewau@microsoft.com>
Tue, 8 Nov 2022 04:58:43 +0000 (20:58 -0800)
committerGitHub <noreply@github.com>
Tue, 8 Nov 2022 04:58:43 +0000 (20:58 -0800)
src/SOS/Strike/util.h

index f4183780a60337b5368b33178ffac7a1b7519583..39d943e5a16f9d88307e12ea9d6de6beadd2a35a 100644 (file)
@@ -442,11 +442,13 @@ public:
         highest_address = dacGCDetails.highest_address;
         card_table = dacGCDetails.card_table;
         has_regions = generation_table[0].start_segment != generation_table[1].start_segment;
+        has_background_gc = dacGCDetails.mark_array != -1;
     }
 
     DacpGcHeapDetails original_heap_details;
     bool has_poh;
     bool has_regions;
+    bool has_background_gc;
     CLRDATA_ADDRESS heapAddr; // Only filled in in server mode, otherwise NULL
     CLRDATA_ADDRESS alloc_allocated;