Skip to content

Commit 6714707

Browse files
committed
Avoid unnecessary whitespaces
1 parent 1e64efe commit 6714707

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

src/coreclr/gc/gc.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46171,8 +46171,8 @@ void gc_heap::descr_generations_to_profiler (gen_walk_fn fn, void *context)
4617146171
while (seg)
4617246172
{
4617346173
fn(context, curr_gen_number, heap_segment_mem (seg),
46174-
heap_segment_allocated (seg),
46175-
heap_segment_reserved (seg));
46174+
heap_segment_allocated (seg),
46175+
heap_segment_reserved (seg));
4617646176

4617746177
seg = heap_segment_next_rw (seg);
4617846178
}
@@ -46186,9 +46186,9 @@ void gc_heap::descr_generations_to_profiler (gen_walk_fn fn, void *context)
4618646186
// for generation # curr_gen_number
4618746187
// for heap # heap_no
4618846188
fn(context, curr_gen_number, heap_segment_mem (seg),
46189-
heap_segment_allocated (seg),
46190-
(curr_gen_number > max_generation) ?
46191-
heap_segment_reserved (seg) : heap_segment_allocated (seg));
46189+
heap_segment_allocated (seg),
46190+
(curr_gen_number > max_generation) ?
46191+
heap_segment_reserved (seg) : heap_segment_allocated (seg));
4619246192

4619346193
seg = heap_segment_next_rw (seg);
4619446194
}

src/coreclr/gc/gcee.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,6 @@ segment_handle GCHeap::RegisterFrozenSegment(segment_info *pseginfo)
452452
heap_segment_used(seg) = heap_segment_allocated(seg);
453453
heap_segment_plan_allocated(seg) = 0;
454454
#ifdef USE_REGIONS
455-
// TODO - that can be interesting
456455
heap_segment_gen_num(seg) = max_generation;
457456
#endif //USE_REGIONS
458457
seg->flags = heap_segment_flags_readonly;

src/coreclr/gc/gcinterface.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ enum GCEventKeyword
277277
GCEventKeyword_GCHeapDump = 0x100000,
278278
GCEventKeyword_GCSampledObjectAllocationHigh = 0x200000,
279279
GCEventKeyword_GCHeapSurvivalAndMovement = 0x400000,
280-
GCEventKeyword_ManagedHeapCollect = 0x800000,
280+
GCEventKeyword_ManagedHeapCollect = 0x800000,
281281
GCEventKeyword_GCHeapAndTypeNames = 0x1000000,
282282
GCEventKeyword_GCSampledObjectAllocationLow = 0x2000000,
283283
GCEventKeyword_All = GCEventKeyword_GC

src/tests/profiler/native/nongcheap/nongcheap.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ HRESULT NonGcHeapProfiler::GarbageCollectionFinished()
123123
{
124124
printf("\tseg#%u, rangeStart=%p, rangeLength=%u, rangeLengthReserved=%u\n",
125125
i, (void*)gc_segments[i].rangeStart, (ULONG)gc_segments[i].rangeLength, (ULONG)gc_segments[i].rangeLengthReserved);
126-
126+
127127
if ((ULONG)gc_segments[i].rangeLength > (ULONG)gc_segments[i].rangeLengthReserved)
128128
{
129129
printf("GetGenerationBounds: rangeLength > rangeLengthReserved");

0 commit comments

Comments
 (0)