Date: 22 Nov 2002 14:31:06 +0100 From: "Georg-W. Koltermann" <g.w.k@web.de> To: Bill Huey <billh@gnuppy.monkey.org> Cc: Nick Johnson <freebsd@spatula.net>, freebsd-java@FreeBSD.ORG Subject: Re: [SUCCESS] Trying to compile HotSpot on 4.7-STABLE Message-ID: <1037971868.417.59.camel@hunter.muc.macsch.com> 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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
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.
[-- Attachment #2 --]
--- 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 == Thread::current(), "thread consistency check");
-#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 doesn'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();
}
-#endif
+// gwk #endif
if (millis <= 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
pthread_yield();
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1037971868.417.59.camel>
