libgcj and the NPTL posix threads implementation
Fri Mar 5 17:43:00 GMT 2004
I'm currently digging around there to clean up the libgcj-collector interface
(to get rid of the include of collector-private files) and
to get the collector backtrace stuff to work with gcj. I'll look at this as well.
> -----Original Message-----
> From: Anthony Green [mailto:email@example.com]
> Sent: Thursday, March 04, 2004 6:17 PM
> To: Boehm, Hans
> Cc: 'Michael Koch'; firstname.lastname@example.org
> Subject: RE: libgcj and the NPTL posix threads implementation
> On Mon, 2004-03-01 at 14:28, Boehm, Hans wrote:
> > The collector does use pthread mutexes in the gcj
> configuration. But that's because
> > thread-local allocation is enabled, and the small object
> allocations should not
> > normally involve locking.
> I'm finding that every allocation results in calls to
> Put breakpoints on _Jv_AllocBytes, _Jv_AllocPtrFreeObject and
> pthread_mutex_try. You'll see that phtread_mutex_try follows every
> _Jv_Alloc* call.
> Anthony Green <email@example.com>
> Red Hat, Inc.
More information about the Java