This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Multithreading via GCJ
- From: Andrew Haley <aph at redhat dot com>
- To: java at gcc dot gnu dot org
- Date: Fri, 24 Feb 2012 17:36:29 +0000
- Subject: Re: Multithreading via GCJ
- References: <20120224173135.26160@gmx.net>
On 02/24/2012 05:31 PM, dornenteufel@gmx.net wrote:
> the last days I worked a little bit with the GCJ compiler and my
> Java programs. I have two question and hope that someone has the
> right answers for me :-).
>
> 1.) How does the scheduling change when I compile my program via
> gcj? Is there a special scheduling algorithm or will there only be
> the OS scheduling used?
The OS scheduling is used. This is generally true for Java
implementations these days.
> 2.) Everytime I compile my programs, I get multiple times this
> warning "GC Warning: Thread stack pointer 0x7ffac960 out of range,
> pushing everything" What does that mean? Additionally I have the
> problem that my program crash with settings which work under eclipse
> wonderfully.
This means that the garbage collector isn't finding the threads. This
is a bug.
Andrew.