This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: [3.0 branch] libjava testsuite, i686-pc-linux-gnu --disable-shared
Andrew Haley wrote:
> > > {
> > > ! // FIXME
> > > ! //JvSynchronize sync (&ClassClass);
> > > for (; *classes; ++classes)
> > > {
> >
> > _Jv_RegisterClasses needs to be made thread-safe before we can
> > check it in (thats the reason for the FIXME).
>
> Hmm. Could you explain the problem? I mean, why is the JvSynchronize
> commented out?
Its been a while, but I think it was because I changed the threads
initialization to run from main_init() rather than _Jv_RegisterClasses.
The reason for doing that escapes me right now, but I think there was
one. But now that I think about it we may have to ensure threads are
initialized in _Jv_RegisterClasses, because even the lower level mutex
abstraction provided by posix-threads.cc etc might require initialization
on some platforms?
regards
[ bryce ]