From: "Bob" <
[email protected]>
References: <
[email protected]> <
[email protected]>
Subject: Re: System GC interface or events?
Date: Mon, 19 Jan 2004 17:34:28 -0800
Lines: 64
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <
[email protected]>
Newsgroups: microsoft.public.dotnet.general
NNTP-Posting-Host: blv-gate-01.boeing.com 130.76.32.64
Path: cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!cpmsftngxa09.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.general:121873
X-Tomcat-NG: microsoft.public.dotnet.general
There are some in our group that are afraid that .NET will freeze the
application for up to 15 seconds doing garbage collection when the system
must respond within 1 second of a button press. From the analysis I have
done to date, I don't see that happening. I'm just trying to come up with
anything that would appease their concerns.
Thanks!
"Chris Lyon [MSFT]" said:
Hi Bob
No, there are no GC events you can monitor to find out when a GC will occur or has occurred.
What kind of critical event are you concerned out?
Thanks
-Chris
--------------------
From: "Bob" <
[email protected]>
Subject: System GC interface or events?
Date: Mon, 19 Jan 2004 08:40:18 -0800
Lines: 8
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <
[email protected]>
Newsgroups: microsoft.public.dotnet.general
NNTP-Posting-Host: blv-gate-01.boeing.com 130.76.32.64
Path:
cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.
phx.gbl
Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.general:121819
X-Tomcat-NG: microsoft.public.dotnet.general
Is there an interface or events in the system that occurs pre and post
garbage collection that one of my objects can attach to? I need to know in
my application when garbage collection is about to take place and when it
has completed. This is to make sure a system critical event does not happen
while the application is frozen, if it freezes for longer than 2 seconds.
Thanks!
rights. Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.