[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [DotGNU]New monitor implementation
From: |
Gopal V |
Subject: |
Re: [DotGNU]New monitor implementation |
Date: |
Thu, 26 Jun 2003 07:32:37 +0530 |
User-agent: |
Mutt/1.2.5i |
If memory serves me right, Thong (Tum) Nguyen wrote:
> - New monitor implementation :D. The last one used GC memory to store
> monitors which fails miserably if the object being locked is a primitive
> array or string. Took a while to figure out but the reason is because
> arrays are allocated in memory the GC doesn't scan (for speed). One
> bonus is that the new implementation is faster and has good potential
> for speed improvements.
Chucked slow and easy for the fast and complicated ? ... good :)
> https://savannah.gnu.org/patch/?func=detailpatch&patch_id=1657&group_id=
> 353
new patch ?
> PS. Still trying to get the relevant parts of pnet threadsafe so you
> might get random core dumps (especially if you're using lots of threads
> and thrashing them).
The good thing is that running csunit in multi-threaded mode will point
it out a lot better than debugging it as we run into an application
error. This is very good as having reproducible bugs is better than
trouble"shooting" one in the wild...
Gopal
--
The difference between insanity and genius is measured by success