[prev in list] [next in list] [prev in thread] [next in thread] 

List:       grinder-development
Subject:    [Grinder-development] [ grinder-Bugs-3464533 ] DCR instrumentation
From:       SourceForge.net <noreply () sourceforge ! net>
Date:       2011-12-24 11:37:17
Message-ID: E1RePuh-00033U-6Y () sfs-ml-3 ! v29 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Bugs item #3464533, was opened at 2011-12-23 09:49
Message generated for change (Comment added) made by philipa
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3464533&group_id=18598

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core engine
Group: None
> Status: Closed
> Resolution: Fixed
Priority: 7
Private: No
Submitted By: Philip Aston (philipa)
Assigned to: Philip Aston (philipa)
Summary: DCR instrumentation of bound PyMethods 

Initial Comment:
PyMethod DCR instrumentation is broken:

1. Jython implementations use multiple different objects to refer to the same bound \
PyMethod. The DCR instrumentation is based on the identity of the target object, and \
not the equality. 2. Jython 2.2 appears to implement calls from an instance to itself \
(self.foo()) using a PyFunction.

----------------------------------------------------------------------

> Comment By: Philip Aston (philipa)
Date: 2011-12-24 03:37

Message:
Fixed for 3.7.

Fix works in a similar way to 3464547, by unwrapping the method to its
underlying PyFunction. This is makes assumptions that may be invalid for
unusual Python code (particularly if it uses dynamic dispatch techniques),
but solves the common case.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3464533&group_id=18598

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Grinder-development mailing list
Grinder-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/grinder-development


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic