From owner-freebsd-java Sun Feb 1 22:44:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA12217 for java-outgoing; Sun, 1 Feb 1998 22:44:00 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from cimlogic.com.au (cimlog.lnk.telstra.net [139.130.51.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA12204 for ; Sun, 1 Feb 1998 22:43:56 -0800 (PST) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.8.7/8.8.7) id RAA00688; Mon, 2 Feb 1998 17:49:15 +1100 (EST) (envelope-from jb) From: John Birrell Message-Id: <199802020649.RAA00688@cimlogic.com.au> Subject: Re: TimeSlicing in JVM In-Reply-To: <199802020636.XAA26813@mt.sri.com> from Nate Williams at "Feb 1, 98 11:36:21 pm" To: nate@mt.sri.com (Nate Williams) Date: Mon, 2 Feb 1998 17:49:15 +1100 (EST) Cc: jb@cimlogic.com.au, nate@mt.sri.com, SSANKARA.IN.oracle.com.ofcmail@in.oracle.com, freebsd-java@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe java" Nate Williams wrote: > I also remember thinking seriously about this problem after reading a > Java threads book, and they brought up another point that I can't recall > right now that was also one of those 'syscall' types of problems. If I > remember or find it I'll send something to the list. It might be a scheduler issue. Like the one where a lower priority thread locks a resource that a higher priority thread needs, but the lower priority thread can't get enough CPU time to finish using the resource. libc_r deals with this by using an incremental priority that is reset when a thread gets to run, but is incremented the longer it is ready to run but prevented from running. Eventually the lower priority thread has a higher effective priority and gets to see its name in lights. Regards, -- John Birrell - jb@cimlogic.com.au; jb@netbsd.org; jb@freebsd.org CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137