Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 997e9440aa1a59f29aeeef4c3fbb2352482a0ac1
Ticket: 3392735fffffffffffffffffffffffffffffffff
Deep [exit] leaks one obj per stack level and local var.
User & Date: ferrieux on 2011-08-19 19:19:39
Changes

  1. icomment:
    Donal, again this special setup uses a forced-finalization-on-exit as a means, not an end :)
    It is simply the only way to see leaks stand out. Once detected, many leaks prove to go beyond the exit sequence and can also be iterated in mid-life. Moreover, even teardown-time leaks can matter if they occur at the end of a thread (which is a repeatable condition). It is precisely the case here.
    Now the forced finalization doesn 't occur in production builds; only in -DPURIFY  (see http://wiki.tcl.tk/28634 ) or when env var TCL_FINALIZE_ON_EXIT is set. So don't fear any slowdown in normal use.
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"