public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
* Multithreading via GCJ
@ 2012-02-24 17:32 dornenteufel
  2012-02-24 17:36 ` Andrew Haley
  0 siblings, 1 reply; 2+ messages in thread
From: dornenteufel @ 2012-02-24 17:32 UTC (permalink / raw)
  To: java

Hello,

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?

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.

Greetings

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Multithreading via GCJ
  2012-02-24 17:32 Multithreading via GCJ dornenteufel
@ 2012-02-24 17:36 ` Andrew Haley
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Haley @ 2012-02-24 17:36 UTC (permalink / raw)
  To: java

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-24 17:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-24 17:32 Multithreading via GCJ dornenteufel
2012-02-24 17:36 ` Andrew Haley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).