This is the mail archive of the
mailing list for the Java project.
Re: Small example of livelock regression in garbage collector forGCJ 3.3 under Win32
- From: Ranjit Mathew <rmathew at hotmail dot com>
- To: java-patches at gcc dot gnu dot org
- Cc: java at gcc dot gnu dot org
- Date: Wed, 21 May 2003 23:56:34 +0530
- Subject: Re: Small example of livelock regression in garbage collector forGCJ 3.3 under Win32
- References: <firstname.lastname@example.org> <SM74YVOKA5YV9XTQO1VOIA3Y2YFCOM.3eca896b@p733> <3ECB0D18.email@example.com> <firstname.lastname@example.org>
> > >>You need -fuse-divide-subroutine and -fcheck-references. Ranjit ahd a
> > >>look at using Windows' structured exception handling to cope with
> > >>these problems, but I don't think that it's done yet.
> > Andrew, if I understand this correctly, you are suggesting that
> > we use these options for the time being till such a time
> > that we can fix the SEH stuff.
> > These will make things a bit slower, but keep it correct:
> > http://gcc.gnu.org/onlinedocs/gcj/Configure-time-Options.html
> > Right?
> Indeed. It looks to me like mingw picks up the configure options from
> i686-*. We need to make this a little more finely grained with a
> separate entry for Linux and mingw.
> Please also submit a patch for configure.host that does the right thing.
How does the following look (tested only on Win98 so far)? It's
against 3.3 sources:
from Ranjit Mathew <email@example.com>
* configure.host: Use -fcheck-references and
-fuse-divide-subroutine for MinGW until we fix
win32_exception_handler( ) in win32.cc w.r.t. Win32
Structured Exception Handling (SEH).
--- configure.host 2003-05-21 19:52:07.000000000 +0530
+++ configure.host 2003-05-21 22:39:40.000000000 +0530
@@ -175,4 +175,11 @@
+ # FIXME: win32_exception_handler( ) in win32.cc does not do the
+ # right stuff yet w.r.t. SEH. Live with the following for now.
# The cygwin linker doesn't do 8-byte alignment by default, so