Overview
| Artifact ID: | 96c0edcfbb65d441bbf7f9aed902fa59203311c5 |
|---|---|
| Ticket: | 582256ffffffffffffffffffffffffffffffffff
Releasing Tcl_Obj Allocator |
| User & Date: | dkf on 2002-07-16 14:24:14 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- 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. - foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dkf"
- subsystem changed to: "41. Memory Allocation"
- title changed to: "Releasing Tcl_Obj Allocator"
- type changed to: "Patch"