Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c7c19704da4110f7257c5f12f8c0af6532f052b7
Ticket: 582256ffffffffffffffffffffffffffffffffff
Releasing Tcl_Obj Allocator
User & Date: dkf on 2016-08-20 16:46:23
Changes

  1. assignee changed to: "aku"
  2. closer changed to: "nobody"
  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. login: "dkf"
  5. mimetype: "text/plain"
  6. priority changed to: "3 Low"
  7. severity changed to: "Minor"