Eclipse hyades
Eclipse hyades
- Subject: Eclipse hyades
- From: Anjo Krank <email@hidden>
- Date: Tue, 8 Feb 2005 10:38:13 +0100
Hi,
just wanted to ask if here are any brave soul running OSX that have
tried to tackle the hyades kit from eclipse:
http://www.eclipse.org/hyades/
From what I can see, it's a profiling toolkit that is set out to
replace the ones in the Java runtime. I took a peek at the code - as
there is no OSX version - and it seemed to me that the first thing
that's missing to get it to run is a set of atomic lock routines...
#elif defined SQLAIXPPC // seems best matching
#define ossAtomicIncByValAndRet32( addr, val ) \
fetch_and_add( (atomic_p)(addr), (val) )
#define ossAtomicIncByValAndRet64( addr, val ) \
fetch_and_addlp( (atomic_l)(addr), (val) )
...
#elif defined SQLAIXPPC
#define ossAtomicPoke32( addr, val ) \
{ \
while ( !compare_and_swap( (atomic_p)(addr), (int *)(addr), (val) )
) ; \
}
#define ossAtomicPoke64( addr, val ) \
{ \
while ( !compare_and_swaplp( (atomic_l)(addr), (long *)(addr), (val)
) ) ; \
}
My guess is that those compare_and_swap are fetch_and_add are just PPC
instructions, but I may be wrong. Any C/GCC/Darwin gurus here that care
to take a peek?
Cheers, Anjo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden