.NET GC Internals – the Concurrent Mark phase

 1 year ago
source link: https://tooslowexception.com/net-gc-internals-the-concurrent-mark-phase/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.


Performance, architecture, Software Craftmanship...

Diagnostic expert!

Pro C# 9

See my newest Pro .NET Memory Management book. More details:


See my OutOfMemory! card game for developers. More details:


10+ years of developer's live. Big .NET enthusiast, but looking with curiosity at other technologies. Currently working as independent consultant. In love with performance and architecture topics, such like scalability, performance troubleshooting, monitoring and testing. Passionate in blogging, tweeting and public speaking. Founder of Warsaw Web Performance group, first web performance-dedicated user group in Poland. One of DotNetos. Microsoft MVP.

.NET GC Internals – the Concurrent Mark phase

Hi and welcome to the third episode of the .NET GC internals! Yesterday is was again 1.5h of talking about the Mark phase, this time in its Concurrent flavour. Most of the time I’ve described the solution and implementation of it to two problems:

  • Problem #1 – how to mark an object while being used? – in non-Concurrent Mark phase MethodTable pointers is used for this. But now, while the application is running and may access this pointer, it is not the best place ever 🙂
  • Problem #2 – how to get a consistent view while references are changing? – even more difficult problem, as the GC tries to discovers what is reachable while references between objects are constantly changed by the application

Enjoy watching the recording on YouTube and if you have any questions, do not hesitate to ask!

As usual, you can get the slides from our goodies page.

And do not forget to join Wednesday, February 10, 7PM CET – this time I’ll cover Plan phase, describing such internal stuff like “plugs”, “gaps”, “brick tables” and more!

Post navigation

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *


Name *

Email *


Proudly powered by WordPress. Theme: Flat 1.7.5 by Themeisle.

About Joyk

Aggregate valuable and interesting links.
Joyk means Joy of geeK