From owner-freebsd-java Fri Nov 22 5:32:21 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F5FC37B401 for ; Fri, 22 Nov 2002 05:32:19 -0800 (PST) Received: from smtp.web.de (smtp01.web.de [217.72.192.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4274543E9C for ; Fri, 22 Nov 2002 05:32:18 -0800 (PST) (envelope-from g.w.k@web.de) Received: from [213.148.149.130] (helo=hunter.muc.macsch.com) by smtp.web.de with esmtp (WEB.DE(Exim) 4.91 #2) id 18FDt8-0005q8-00; Fri, 22 Nov 2002 14:30:30 +0100 Subject: Re: [SUCCESS] Trying to compile HotSpot on 4.7-STABLE From: "Georg-W. Koltermann" To: Bill Huey Cc: Nick Johnson , freebsd-java@FreeBSD.ORG In-Reply-To: <20021122101749.GA8337@gnuppy.monkey.org> References: <20021122003152.Q30835-100000@turing.morons.org> <1037959950.417.55.camel@hunter.muc.macsch.com> <20021122101749.GA8337@gnuppy.monkey.org> Content-Type: multipart/mixed; boundary="=-SCZY3kGorDBugjJYsETd" X-Mailer: Ximian Evolution 1.0.8 Date: 22 Nov 2002 14:31:06 +0100 Message-Id: <1037971868.417.59.camel@hunter.muc.macsch.com> Mime-Version: 1.0 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --=-SCZY3kGorDBugjJYsETd Content-Type: text/plain Content-Transfer-Encoding: 7bit Am Fr, 2002-11-22 um 11.17 schrieb Bill Huey: > > ... > > Then after 10 *MINUTES* or so, it suddenly updates the splash screen, > > moving the progress bar further. Then it pauses again as above. The > > same repeats after another 10 minutes. > > > > I'll let it continue in the background and see what happens. > > There's section that deals with sleeping and signal. Enable that stuff > in os_linux.cpp and try it again. > > bill I'm not sure if I understood you correctly. See attached patch for what I did. It didn't help :-( -- Regards, Georg. --=-SCZY3kGorDBugjJYsETd Content-Disposition: inline; filename=gwk.patch Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; name=gwk.patch; charset=ISO-8859-15 --- os_linux.cpp~ Fri Nov 22 11:28:44 2002 +++ os_linux.cpp Fri Nov 22 12:56:13 2002 @@ -1537,7 +1537,7 @@ int os::sleep(Thread* thread, jlong millis, bool interruptible) { assert(thread =3D=3D Thread::current(), "thread consistency check"); =20 -#if 0 +// gwk #if 0 // On Solaris machines (especially 2.5.1) we found that sometimes the VM= gets into a live lock // situation with a JavaThread being starved out of a lwp. The kernel do= esn't seem to generate // a SIGWAITING signal which would enable the threads library to create = a new lwp for the starving @@ -1552,10 +1552,10 @@ Threads_lock->lock_without_safepoint_check(); Threads_lock->unlock();=20 } -#endif +// gwk #endif =20 if (millis <=3D 0) { -#if 0 +//gwk #if 0 // NOTE: workaround for bug 4338139 if (thread->is_Java_thread()) { StateSaver sv(thread); @@ -1563,7 +1563,7 @@ pthread_yield(); return 0; } -#endif +// gwk #endif =20 pthread_yield(); =20 --=-SCZY3kGorDBugjJYsETd-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message