Skip to content

Commit

Permalink
Experiment with GC stress logging
Browse files Browse the repository at this point in the history
  • Loading branch information
cshung committed Jun 10, 2024
1 parent f5a7326 commit e256672
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/coreclr/gc/gc.h
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ inline bool IsServerHeap()
#define MAX_LONGPATH 1024
#endif // MAX_LONGPATH

// #define TRACE_GC
#define TRACE_GC
// #define SIMPLE_DPRINTF

#ifdef TRACE_GC
Expand Down
2 changes: 1 addition & 1 deletion src/tests/GC/API/Frozen/Frozen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ private static unsafe int Main()
GC.Collect();
Console.WriteLine(root.next.next != null);
frozenSegment.Release();
return 100;
throw new Exception("Intentional failure");
}
}
}

0 comments on commit e256672

Please sign in to comment.