Showing results for General - .NET Blog

Nov 19, 2008
0
0

So, what’s new in the CLR 4.0 GC?

maoni
maoni

PDC 2008 happened not long ago so I get to write another “what’s new in GC” blog entry. For quite a while now I’ve been working on a new concurrent GC that replaces the existing one. And this new concurrent GC is called “background GC”. First of all let me apologize for having not written anything for so long. It’s been quite busy working on the n...

.NET
Mar 21, 2007
0
1

He’s live… he’s live not… he’s live…

maoni
maoni

I was making some code changes today and thought this was interesting to share. As you know, the WeakReference class has a getter and a setter method to get and set the Target which is what the weakref points to. See Using GC Efficiently – Part 3 for more details on WeakReference.   Note that the code below is only for illustration purposes – ...

.NET
Nov 22, 2006
0
0

Check out the CLR Lead Architect’s New Blog

maoni
maoni

Many people know Patrick Dussud by his outstanding work on Garbage Collection. But did you know he was one of the founders of the CLR? In his intro blog entry he talks about how the CLR came to life. I am sure it will be a great read for those of you who are curious about it.

.NET
Oct 23, 2006
0
0

New MSDN Article – Investigating Memory Issues

maoni
maoni

We have a new MSDN article out in the November issue that talks about investigating managed memory issues. http://msdn.microsoft.com/msdnmag/issues/06/11/CLRInsideOut/default.aspx?loc=en Take a look and let me know what you think. Oh, and it's also in 6 other languages (German, Spanish, French, Russian, Portuguese and Chinese) for re...

.NET
Aug 18, 2006
0
0

I Am a Happy Janitor – Part 1: Finding garbage

maoni
maoni

Indeed what I do is very much like the job of the janitors – like the ones who clean your building, or janitors you see at a food court, or yourself when you are taking care of garbage at your house. Doubtful you say? Let me prove it to you. Finding garbage What do you do when you are having lunch with your friends at a food court and suddenly...

.NET
Jun 7, 2006
0
2

Suspending and resuming threads for GC

maoni
maoni

First of all, suspension and resumption of threads is not really part of the GC. GC calls functions to do the suspension and the resumption as a service provided in the CLR. Other components in the CLR also use this service such as the debugger implementation. But it’s true that suspending and resuming because of the GC is the most significant usag...

.NET
Apr 19, 2006
0
0

Large Object Heap

maoni
maoni

LOH (Large Object Heap) contains objects that are 85,000 bytes or bigger (there’s also some objects that are less than 85,000 bytes that are allocated on the LOH by the runtime itself but usually they are very small and we’ll ignore them for this discussion).   The way LOH is implemented changed dramatically from 1.0 to 1.1. In 1.0 we used a ...

.NET
Oct 4, 2005
0
0

So, what’s new in the CLR 2.0 GC?

maoni
maoni

Certainly that’s one of the most frequently asked questions I get (at the PDC too!). So since PDC already happened I can tell the rest of you about the new stuff happened in GC in CLR 2.0. The slides can be downloaded here. And I will be referring to some of the slides. I must apologize for your having to click on the link to see the slide each tim...

.NET
Jul 27, 2005
0
0

GC talk at the 2005 PDC

maoni
maoni

I will be giving a GC talk at the PDC this September. This talk is to give you a close up view of the CLR GC so I hope to see all you hard core .NET developers there! I will talk about some internal details of generations, allocations, different flavors of GC and fragmentation (what we have done in the GC and what you can do in your applications t...

.NET
Sep 6, 2004
0
0

WinDev in Boston

maoni
maoni

I am going to WinDev this year to give 2 performance talks. Check out: http://butrain.bu.edu/windev/track2.asp (it's from Oct 25 to 29) Below is the description: C5 - CLR PerformanceWrite faster managed code! Learn about performance engineering, tools and issues specific to managed code including: garbage collection (GC), managed code deploym...

.NET