Click here to Skip to main content
15,881,852 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
Questionsealed UI classes Pin
DotNetInterest24-Apr-07 7:08
DotNetInterest24-Apr-07 7:08 
AnswerRe: sealed UI classes Pin
Pete O'Hanlon24-Apr-07 9:54
mvePete O'Hanlon24-Apr-07 9:54 
AnswerRe: sealed UI classes [modified] Pin
Jaiprakash M Bankolli25-Apr-07 23:05
Jaiprakash M Bankolli25-Apr-07 23:05 
Question[Interop] Connectionpoint Advise hangs Pin
User 21559724-Apr-07 6:57
User 21559724-Apr-07 6:57 
QuestionWhy no GC.Kill(object)? Pin
Tristan Rhodes24-Apr-07 5:36
Tristan Rhodes24-Apr-07 5:36 
AnswerRe: Why no GC.Kill(object)? Pin
Colin Angus Mackay24-Apr-07 5:40
Colin Angus Mackay24-Apr-07 5:40 
GeneralRe: Why no GC.Kill(object)? Pin
Tristan Rhodes24-Apr-07 5:57
Tristan Rhodes24-Apr-07 5:57 
GeneralRe: Why no GC.Kill(object)? Pin
Dave Kreskowiak24-Apr-07 6:21
mveDave Kreskowiak24-Apr-07 6:21 
It's already cluttered up to death anyway. All strings are immutable objects. String manipulations create and destroy lots of small objects, that just hang around until the GC gets around to collecting them.

It's a nice idea on paper, but it also introduces problems that can't be fixed until the next GC, like memory fragmentation. The GC maintains the managed heap, compacting memory when it can and when it needs to. It's performance is also self-tuning. Having you just kill and forcibly collect any object you want just destroys the ability of the tuner to do it's job.

Your idea is actually introducing the ability to create more clutter for the GC, not less.


Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: Why no GC.Kill(object)? Pin
Tristan Rhodes24-Apr-07 7:07
Tristan Rhodes24-Apr-07 7:07 
AnswerRe: Why no GC.Kill(object)? Pin
Daniel Turini24-Apr-07 6:44
Daniel Turini24-Apr-07 6:44 
Question.NET on linux/unix Pin
Waskira23-Apr-07 22:30
Waskira23-Apr-07 22:30 
AnswerRe: .NET on linux/unix Pin
Tristan Rhodes24-Apr-07 3:51
Tristan Rhodes24-Apr-07 3:51 
GeneralRe: .NET on linux/unix Pin
Ray Cassick24-Apr-07 13:23
Ray Cassick24-Apr-07 13:23 
AnswerRe: .NET on linux/unix Pin
Scott Dorman24-Apr-07 3:51
professionalScott Dorman24-Apr-07 3:51 
GeneralRe: .NET on linux/unix Pin
Brady Kelly24-Apr-07 18:57
Brady Kelly24-Apr-07 18:57 
Question"Stub" application Pin
Miszou23-Apr-07 9:22
Miszou23-Apr-07 9:22 
AnswerRe: "Stub" application Pin
kubben23-Apr-07 9:49
kubben23-Apr-07 9:49 
AnswerRe: "Stub" application Pin
Dave Kreskowiak23-Apr-07 9:53
mveDave Kreskowiak23-Apr-07 9:53 
GeneralRe: "Stub" application Pin
Miszou23-Apr-07 9:58
Miszou23-Apr-07 9:58 
GeneralRe: "Stub" application Pin
Dave Kreskowiak23-Apr-07 11:57
mveDave Kreskowiak23-Apr-07 11:57 
GeneralRe: "Stub" application Pin
Brady Kelly23-Apr-07 20:33
Brady Kelly23-Apr-07 20:33 
GeneralRe: "Stub" application Pin
sthotakura23-Apr-07 21:26
sthotakura23-Apr-07 21:26 
GeneralRe: "Stub" application Pin
kubben24-Apr-07 2:26
kubben24-Apr-07 2:26 
QuestionProblems with Exit code in C++ visual studio 2.0 Pin
Debun23-Apr-07 3:49
Debun23-Apr-07 3:49 
AnswerRe: Problems with Exit code in C++ visual studio 2.0 Pin
szukuro23-Apr-07 4:24
szukuro23-Apr-07 4:24 

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.