Re: Multithreading via GCJ

Andrew Haley <[email protected]>
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
On 02/24/2012 05:31 PM, [email protected] 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.