Multithreading via GCJ
Andrew Haley
aph@redhat.com
Fri Feb 24 17:36:00 GMT 2012
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.
More information about the Java
mailing list