Click here to Skip to main content
15,884,298 members
Home / Discussions / C#
   

C#

 
GeneralRe: Finalization and Performance Pin
George_George1-May-08 4:10
George_George1-May-08 4:10 
GeneralRe: Finalization and Performance Pin
N a v a n e e t h1-May-08 6:07
N a v a n e e t h1-May-08 6:07 
GeneralRe: Finalization and Performance Pin
George_George1-May-08 21:19
George_George1-May-08 21:19 
GeneralRe: Finalization and Performance Pin
N a v a n e e t h1-May-08 22:59
N a v a n e e t h1-May-08 22:59 
GeneralRe: Finalization and Performance Pin
George_George2-May-08 2:43
George_George2-May-08 2:43 
AnswerRe: Finalization and Performance PinPopular
Mike Dimmick1-May-08 6:04
Mike Dimmick1-May-08 6:04 
GeneralRe: Finalization and Performance Pin
N a v a n e e t h1-May-08 6:41
N a v a n e e t h1-May-08 6:41 
GeneralRe: Finalization and Performance Pin
Guffa1-May-08 9:29
Guffa1-May-08 9:29 
Every object that has a Finalize method will be placed on the finalization queue, there is no way to prevent this, and it's not the GC that does that.

What the SuppressFinalize method does is to remove the object from that queue, so that the GC will not place the object in the freachable queue when it's up for collection.

The finalization queue is somewhat misleadingly named, as it's not really a queue at all. It's just a collection of references.

Despite everything, the person most likely to be fooling you next is yourself.

GeneralRe: Finalization and Performance Pin
George_George1-May-08 21:27
George_George1-May-08 21:27 
GeneralRe: Finalization and Performance Pin
N a v a n e e t h1-May-08 23:06
N a v a n e e t h1-May-08 23:06 
GeneralRe: Finalization and Performance Pin
George_George2-May-08 2:44
George_George2-May-08 2:44 
GeneralRe: Finalization and Performance Pin
Guffa2-May-08 1:54
Guffa2-May-08 1:54 
GeneralRe: Finalization and Performance Pin
N a v a n e e t h2-May-08 2:35
N a v a n e e t h2-May-08 2:35 
GeneralRe: Finalization and Performance Pin
Guffa2-May-08 17:42
Guffa2-May-08 17:42 
GeneralRe: Finalization and Performance Pin
N a v a n e e t h2-May-08 20:35
N a v a n e e t h2-May-08 20:35 
GeneralRe: Finalization and Performance Pin
George_George2-May-08 2:47
George_George2-May-08 2:47 
GeneralRe: Finalization and Performance Pin
N a v a n e e t h1-May-08 23:08
N a v a n e e t h1-May-08 23:08 
GeneralRe: Finalization and Performance Pin
Guffa2-May-08 1:57
Guffa2-May-08 1:57 
GeneralRe: Finalization and Performance Pin
George_George1-May-08 21:28
George_George1-May-08 21:28 
GeneralRe: Finalization and Performance Pin
Pete O'Hanlon1-May-08 8:31
mvePete O'Hanlon1-May-08 8:31 
GeneralMagnificent Pin
Luc Pattyn1-May-08 9:11
sitebuilderLuc Pattyn1-May-08 9:11 
GeneralRe: Magnificent Pin
Spacix One1-May-08 9:49
Spacix One1-May-08 9:49 
GeneralRe: Magnificent Pin
Luc Pattyn1-May-08 10:20
sitebuilderLuc Pattyn1-May-08 10:20 
GeneralRe: Magnificent Pin
Big Daddy Farang1-May-08 10:55
Big Daddy Farang1-May-08 10:55 
GeneralRe: Magnificent Pin
Spacix One1-May-08 11:23
Spacix One1-May-08 11:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.