Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1037971868.417.59.camel>