Skip to content
Tcl Source Code History Of Ticket 1895546fffffffff
Login

History Of Ticket 1895546fffffffff

Artifacts Associated With Ticket 1895546fffffffff

  1. Ticket change [35e2d3d580] (rid 107014) by wiede on 2008-02-17 19:08:04:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      There seems to be a problem with method caching in the case of mapping method names, if there is no real mapping done:
      
      tclOO.c
      
      if (oPtr->mapMethodNameProc != NULL) {
      :    
      methodNamePtr = Tcl_DuplicateObj(methodNamePtr);
      :
      }
      
      because of the call to Tcl_DuplicateObj there is no stashing as it seems to me, because 
      
      TclOOStashContext(methodNamePtr, contextPtr);
      
      uses the newly created methodNamePtr.
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "wiede"
    10. subsystem initialized to: "35. TclOO Package"
    11. title initialized to: "Problem with method caching"
    12. type initialized to: "Bug"
  2. Ticket change [2b28c9463f] (rid 118689) by dkf on 2008-05-01 20:30:19:

    1. icomment:
      Logged In: YES 
      user_id=79902
      Originator: NO
      
      The problem seems to be that there's a need to have a modifiable object and yet to write the cached value to a non-modifiable object. Will probably force a redesign of the API.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  3. Ticket change [d55be7f97b] (rid 123609) by dkf on 2008-05-21 21:45:17:

    1. icomment:
      Logged In: YES 
      user_id=79902
      Originator: NO
      
      Turned off caching when class chain traversing is used, which "fixes" things for now. Still need to do that redesign, but it's tricky.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  4. Ticket change [831a9a7f67] (rid 117340) by dkf on 2009-07-12 21:59:43:

    1. closedate changed to: "2009-07-12T14:59:43"
    2. closer changed to: "dkf"
    3. foundin changed to: "obsolete: 8.6b1.1"
    4. icomment:
      
      
      allow_comments - 1
      
      Fixed in Tcl HEAD (I think). At least some of the caches are applied to the string being mapped from. If the method name mapper returns TCL_BREAK, it will now fall back to the standard method lookup rules (don't return anything other than TCL_OK, TCL_ERROR or TCL_BREAK now; won't guarantee behaviour there any more).
      
      I will not backport this change (unless you twist my arm/ask nicely).
      
      
    5. login: "dkf"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
    9. username: "dkf"