This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Multithreading via GCJ


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]