Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 96c0edcfbb65d441bbf7f9aed902fa59203311c5
Ticket: 582256ffffffffffffffffffffffffffffffffff
Releasing Tcl_Obj Allocator
User & Date: dkf on 2002-07-16 14:24:14
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. 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.
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dkf"
  9. subsystem changed to: "41. Memory Allocation"
  10. title changed to: "Releasing Tcl_Obj Allocator"
  11. type changed to: "Patch"