Message7424
sys.getrefcount is not meaningful on jython, only on cpython.
cpython uses reference-counting for garbage collection. Read more here
http://en.wikipedia.org/wiki/Reference_counting
Jython, because it runs on Java Virtual Machines, uses Java Garbage Collection, which may use one of several different garbage collection mechanisms, mostly much more sophisticated than relatively basic ref-counting algorithms. Read more here
http://www.oracle.com/technetwork/java/gc-tuning-5-138395.html
So basically sys.getrefcount would have no meaning on java/jython, and there is no way to implement it.
I'm going to close this bug as "invalid".
If you think that you need to use the sys.getrefcount method, please send an email, describing your use-case, to the jython-users mailing list. |
|
Date |
User |
Action |
Args |
2012-08-25 21:05:42 | amak | set | messageid: <1345928742.34.0.292317710007.issue1960@psf.upfronthosting.co.za> |
2012-08-25 21:05:42 | amak | set | recipients:
+ amak, adorsk |
2012-08-25 21:05:42 | amak | link | issue1960 messages |
2012-08-25 21:05:41 | amak | create | |
|