kandeshvari / phantomuserland

Automatically exported from code.google.com/p/phantomuserland
GNU Lesser General Public License v3.0
1 stars 0 forks source link

refcount desigtn flaw #120

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
It seems to be possible to read object field and have object it points to 
deleted before it is used/ref_inc'ed by reader. Need atomic refcnt inc on each 
read - and field read retry if cnt became zero before we inc'ed it.

In fact it means global refcnt redesign.

Need regression tests for it then.

Original issue reported on code.google.com by dmitry.zavalishin@gmail.com on 30 Aug 2011 at 9:42