Overview
| Artifact ID: | 904a068ca837764ce5ef5ee07ee3a0bffbf43e3e |
|---|---|
| Ticket: | 3381371fffffffffffffffffffffffffffffffff
possible memory leak? |
| User & Date: | dgp on 2011-08-02 19:54:31 |
Changes
- icomment:
Using the usual tcltest harness for memory leak testing, I tried this: testConstraint memory [llength [info commands memory]] test thread-8.1 {Bug 3381371} -constraints memory -setup { proc getbytes {} { set lines [split [memory info] "\n"] lindex $lines 3 3 } package require Thread } -body { set end [getbytes] for {set i 0} {$i < 5} {incr i} { set t [thread::create -joinable] thread::release $t thread::join $t set start $end set end [getbytes] } expr {$end - $start} } -cleanup { rename getbytes {} unset -nocomplain i start end t } -result 0 It shows no leak, using the trunk of Tcl & Thread. What is it that's claimed to be leaking? Apparently it's not Tcl_Alloc'ed memory? Or is this a leak I should not be able to see testing on Linux? - login: "dgp"
- mimetype: "text/plain"
- username: "dgp"