This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: PATCH: java/25330: A race condition in write_classfile
On Mon, Dec 12, 2005 at 11:31:36AM -0800, David Daney wrote:
> Andrew Haley wrote:
> >H. J. Lu writes:
> > > On Mon, Dec 12, 2005 at 11:12:33AM -0700, Tom Tromey wrote:
> > > > >>>>> "H.J." == H J Lu <hjl@lucon.org> writes:
> > > >
> > > > H.J.> With parallel build in libjava, several processes may want to
> > generate
> > > > H.J.> the same class file.
> > > >
> > > > When does this happen?
> > >
> > > PR java/25330 has this info.
> >
> >I can't see any place in that PR where two processes write the same
> >class file.
>
> Does gcj only write the classfile requested, or does it also write
> classfiles of dependent classes (ala Sun's javac)?
>
I don't know much about gcj. But I can add a printf to check if gcj
does it or not.
H.J.