From owner-freebsd-java Thu Mar 21 16: 4:27 2002 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by hub.freebsd.org (Postfix) with ESMTP id 97BBE37B417 for ; Thu, 21 Mar 2002 16:04:24 -0800 (PST) Received: from billh by gnuppy.monkey.org with local (Exim 3.35 #1 (Debian)) id 16oCXZ-0000WU-00; Thu, 21 Mar 2002 16:04:17 -0800 Date: Thu, 21 Mar 2002 16:04:16 -0800 To: Nate Williams Cc: Greg Lewis , java@FreeBSD.ORG Subject: Re: Mozilla core... & HotSpot update Message-ID: <20020322000416.GA1670@gnuppy.monkey.org> References: <20020320201858.GA3125@gnuppy.monkey.org> <15512.61557.26582.852492@caddis.yogotech.com> <20020320233301.GA4011@gnuppy.monkey.org> <15513.7648.287464.414451@caddis.yogotech.com> <20020321000145.GA4319@gnuppy.monkey.org> <20020321142512.A65790@misty.eyesbeyond.com> <20020321063724.GA6657@gnuppy.monkey.org> <15514.3199.968025.626479@caddis.yogotech.com> <20020321234309.GA1607@gnuppy.monkey.org> <15514.28841.407418.877991@caddis.yogotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15514.28841.407418.877991@caddis.yogotech.com> User-Agent: Mutt/1.3.27i From: Bill Huey 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 On Thu, Mar 21, 2002 at 04:45:45PM -0700, Nate Williams wrote: > They allow multiple JIT compile threads? That seems like a problem > waiting for a solution. Are you *sure*? On an enterprise machine with 10,000+ threads and 64 CPUs, it doesn't make sense to serialize the JIT process into one thread. It almost certainly is so that the compilation process can proceed in parallel across multipule CPUs and in what ever executing thread at the time. ... > Actually, it wouldn't, since a JIT like HotSpot JITS on-the-fly as code > is found to be useful in compiling. Traditional JITs compile > *everything* at the beginning, so there aren't as many races and such, > since no-code is executed until the compilation is complete. That's only if you have one thread doing the compilation and this isn't a traditional JIT in any way what so ever. You're almost certainly dealing with a JIT that can allow anything to compile code and shove into a data structure. Even a traditional JIT would benefit from parallel compilation since it's a more known operation and can concretely schedule threads to the work. It's a basic threading and resource contention problem in either case. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message