gcc-patches@gcc.gnu.org
[Top] [All Lists]

Re: PATCH: java/25330: A race condition in write_classfile

Subject: Re: PATCH: java/25330: A race condition in write_classfile
From: "H. J. Lu"
Date: Mon, 12 Dec 2005 10:31:46 -0800
On Mon, Dec 12, 2005 at 11:12:33AM -0700, Tom Tromey wrote:
> >>>>> "H.J." == H J Lu <hjl@xxxxxxxxx> 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.

> 
> It really shouldn't.  gcj isn't eager like other java compilers -- it
> only compiles what you ask it to.  We shouldn't have two invocations
> working on the same .java file.

It does happen. But it is very timing sensitive.


H.J.

<Prev in Thread] Current Thread [Next in Thread>