Overview
| Artifact ID: | c7c19704da4110f7257c5f12f8c0af6532f052b7 |
|---|---|
| Ticket: | 582256ffffffffffffffffffffffffffffffffff
Releasing Tcl_Obj Allocator |
| User & Date: | dkf on 2016-08-20 16:46:23 |
Changes
- assignee changed to: "aku"
- closer changed to: "nobody"
- comment changed to:
This patch implements an optional (i.e. selectable through an argument to configure) new object allocator for the Tcl core that has the following properties: * it allocates objects in blocks (similar to the standard Tcl_Obj allocator) * it detects when a block is surplus to requirements (new feature) * it returns the block to the OS when that happens (new feature) The downside to this is that it makes the core slower due to the extra time required to manage a more complex free-list system, and the fact that if a block is discarded and more objects subsequently become necessary then a system call is required to get more memory (though that is of course the whole point.) At time of submission, this code is only verified to work under Solaris 8. - login: "dkf"
- mimetype: "text/plain"
- priority changed to: "3 Low"
- severity changed to: "Minor"