Re: [Ironpython-users] Some questions about gc and finalizers

2014-09-19 Thread Markus Schaber
Hi, I checked whether the ETW Events of the .NET Framework could be helpful, at least a bit: http://msdn.microsoft.com/en-us/library/ff356162%28v=vs.100%29.aspx The GCHeapStats_V1 event delivers a FinalizationPromotedCount. The GCFinalizersEnd_V1 event comes with a Count: "The number of finaliz

Re: [Ironpython-users] Some questions about gc and finalizers

2014-09-19 Thread Stefan Richthofer
> I redid my tests by calling GC.Collect() afterwards, and the "normal" > case works just fine, but not the attached case. So yes, they do work. > :) Yes, of course an equivalent step is necessary in Jython too. test_finalizers.py cares for this via the gc module, which should be the right implem

Re: [Ironpython-users] Some questions about gc and finalizers

2014-09-19 Thread Markus Schaber
Hi, Jeff, Von: Jeff Hardy On Thu, Sep 18, 2014 at 4:10 PM, Stefan Richthofer wrote: > >> A quick test (on Mono) says "no", but trying with a class that > >> declares __del__ doesn't either, so I'd want to hook up a debugger on > >> Windows to check for sure. I'm not sure if the backing types

Re: [Ironpython-users] Some questions about gc and finalizers

2014-09-19 Thread Jeff Hardy
On Thu, Sep 18, 2014 at 4:10 PM, Stefan Richthofer wrote: >> A quick test (on Mono) says "no", but trying with a class that >> declares __del__ doesn't either, so I'd want to hook up a debugger on >> Windows to check for sure. I'm not sure if the backing types created >> by IronPython have finaliz

Re: [Ironpython-users] Some questions about gc and finalizers

2014-09-18 Thread Stefan Richthofer
> An: "Stefan Richthofer" > Cc: "ironpython-users@python.org" , "Dino > Viehland" > Betreff: Re: [Ironpython-users] Some questions about gc and finalizers > > (+dinov, who just needs to page this in rather than learn it all from scratch) >

Re: [Ironpython-users] Some questions about gc and finalizers

2014-09-18 Thread Jeff Hardy
(+dinov, who just needs to page this in rather than learn it all from scratch) On Wed, Sep 17, 2014 at 2:18 PM, Stefan Richthofer wrote: > Dear IronPython community, > > I recently worked on Jython issue 1057 (http://bugs.jython.org/issue1057) and > also improved the current solution of http://b