Performance Zone is brought to you in partnership with:

Sasha Goldshtein is a Senior Consultant for Sela Group, an Israeli company specializing in training, consulting and outsourcing to local and international customers.Sasha's work is divided across these three primary disciplines. He consults for clients on architecture, development, debugging and performance issues; he actively develops code using the latest bits of technology from Microsoft; and he conducts training classes on a variety of topics, from Windows Internals to .NET Performance. You can read more about Sasha's work and his latest ventures at his blog: http://blogs.microsoft.co.il/blogs/sasha. Sasha writes from Herzliya, Israel. Sasha is a DZone MVB and is not an employee of DZone and has posted 204 posts at DZone. You can read more from them at their website. View Full User Profile

Hot Tips for Increasing Garbage Collection Performance

10.04.2012
| 5352 views |
  • submit to reddit

Curator's Note: The following is a follow-up to this MVB's recent presentation on garbage collection performance tips.

Thanks for attending my DevReach session on garbage collection performance tips! This is one of my favorite subjects, and I found it very hard to cover it well in just under one hour. Still, we discussed the general inner workings of the garbage collector and highlighted several best practices for improving your application performance.

clip_image002

clip_image004clip_image006

Among the topics we covered:

  • Switching GC flavors and understanding server, concurrent, and background GC
  • Finding long-lived objects and allocation sources with CLR Profiler
  • Detecting virtual address space fragmentation with VMMap
  • Understanding some finalization pitfalls, including memory leaks

You can find the slides and demos for this session here. Looking forward to seeing you at next year’s DevReach!

Of course, I can’t conclude this without a book plug: Pro .NET Performance contains a 60-page chapter on GC internals and performance characteristics. I think you should definitely read it if you care about your managed applications’ performance.

 

Published at DZone with permission of Sasha Goldshtein, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

Comments

Wojciech Kudla replied on Fri, 2012/10/05 - 1:57am

What does an article on .Net GC do on Java DZone?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.