Microsoft MVP성태의 닷넷 이야기
.NET : 20. 명시적으로 Dispose 를 호출하도록 유도. [링크 복사], [링크+제목 복사],
조회: 9948
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 

Does .NET Garbage Collector call Dispose? Dispose ? Best Practices.
; http://blogs.msdn.com/irenak/archive/2006/10/05/SYSK-212_3A00_--Does-.NET-Garbage-Collector-call-Dispose_3F00_--Dispose-_1320_-Best-Practices_2E00_.aspx

오... 신선한 아이디어네요. ^^

사실, GC 에 의해 Finalizer 가 호출되도록 하는 것은 메모리 관리적인 측면은 물론이고, 성능상으로도 좋지 않습니다. 따라서, 가능한 코드상에서 명시적으로 호출하도록 유도하는 것이 좋은 데요. 간단한 아이디어로 그것을 처리한 예를 보여주고 있습니다.

매우 유용하니... ^^ 다음의 제 토픽에서도 이를 반영시켜야 겠습니다.

CLR & Debug Features : 7. .NET IDisposable 처리 정리
; https://www.sysnet.pe.kr/Default.aspx?mode=2&sub=0&pageno=0&detail=1&wid=347








[최초 등록일: ]
[최종 수정일: 10/6/2006]


비밀번호

댓글 작성자
 




... 31  32  33  34  35  36  37  38  39  40  [41]  42  43  44  45  ...
NoWriterDateCnt.TitleFile(s)
160정성태4/13/20069425MS 인증서버 : 인증서 유효 기간 기본값 변경
157정성태4/13/20069038Converting a managed PDB into a XML file
158정성태4/13/20068705    답변글 [추가]: A SymWriter sample is coming...
156정성태4/13/20069504Method Call Interception (MCI) in C++
155정성태4/13/20068900Web Project Conversion Wizard
154정성태12/21/20059640Interprocess Communication Using the Running Object Table (ROT)파일 다운로드1
153정성태4/13/20069116Assembly loading failure is expensive [1]
152정성태4/13/20069703ASCX 컨트롤을 커스텀 컨트롤로 사용하는 방법.
151정성태4/13/20068526TechNet 세미나 목록
150정성태4/13/20068691SCDL Tool [2]
149정성태4/13/20068790Disk (based) Output Cache
147정성태4/13/20068726CLR Profiler for the .NET Framework 2.0
146정성태4/13/20069715Scriptomatic Version 2.0 by the Microsoft Scripting Guys
145정성태4/13/20069151Windows Server 2003 R2 [2]
144정성태4/13/20069549WTL(Windows Template Library) 7.5
143정성태4/13/20069791.NET 1.1 에서 WebService Client 의 KeepAlive = false; 설정
142정성태4/13/20068952Virtual Server 2005 R2 (x86, x64) EE 180-day Evaluation [2]
141정성태4/13/20069638.NET 표준개발 가이드와 Microsoft.Framework 공개
140정성태4/13/20068167PAINT.NET
139정성태11/30/2005922112월 세미나 행사
137정성태11/17/20058670WSE 3.0 정식 버전
162정성태4/13/20069337    답변글 [추가]: Web Service Security Guide
136정성태11/17/20058971Creating an Outlook My.Blogs Managed Code Add-in
138정성태11/24/20058423    답변글 Ceating an Outlook Business Contact Assistant Add-in with Visual Studio Tools for Office
135정성태11/16/20058728What's port 445 used for in Windows 2000/XP?파일 다운로드1
134정성태11/15/20058716Microsoft SQL Server Management Studio Express - Community Technical Preview (CTP) November 2005 [1]
... 31  32  33  34  35  36  37  38  39  40  [41]  42  43  44  45  ...