From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6029 invoked by alias); 24 Feb 2012 17:36:48 -0000 Received: (qmail 5691 invoked by uid 22791); 24 Feb 2012 17:36:46 -0000 X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 24 Feb 2012 17:36:31 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q1OHaUKL018762 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 24 Feb 2012 12:36:31 -0500 Received: from zebedee.pink (ovpn-113-151.phx2.redhat.com [10.3.113.151]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q1OHaT5J012100; Fri, 24 Feb 2012 12:36:30 -0500 Message-ID: <4F47CA9D.5080600@redhat.com> Date: Fri, 24 Feb 2012 17:36:00 -0000 From: Andrew Haley User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120209 Thunderbird/10.0.1 MIME-Version: 1.0 To: java@gcc.gnu.org Subject: Re: Multithreading via GCJ References: <20120224173135.26160@gmx.net> In-Reply-To: <20120224173135.26160@gmx.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2012-02/txt/msg00032.txt.bz2 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.