Artifacts Associated With Ticket 1895546
Ticket change [35e2d3d580] (rid 107014) by wiede on 2008-02-17 19:08:04:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- 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. - foundin initialized to: "None"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "wiede"
- subsystem initialized to: "35. TclOO Package"
- title initialized to: "Problem with method caching"
- type initialized to: "Bug"
Ticket change [2b28c9463f] (rid 118689) by dkf on 2008-05-01 20:30:19:
- 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.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [d55be7f97b] (rid 123609) by dkf on 2008-05-21 21:45:17:
- 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.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [831a9a7f67] (rid 117340) by dkf on 2009-07-12 21:59:43:
- closedate changed to: "2009-07-12T14:59:43"
- closer changed to: "dkf"
- foundin changed to: "obsolete: 8.6b1.1"
- 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).
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dkf"