Date: Thu, 21 Mar 2002 16:45:45 -0700 From: Nate Williams <nate@yogotech.com> To: Bill Huey <billh@gnuppy.monkey.org> Cc: Nate Williams <nate@yogotech.com>, Greg Lewis <glewis@eyesbeyond.com>, java@FreeBSD.ORG Subject: Re: Mozilla core... & HotSpot update Message-ID: <15514.28841.407418.877991@caddis.yogotech.com> In-Reply-To: <20020321234309.GA1607@gnuppy.monkey.org> References: <200203201509.PAA29782@sorley.cogsci.ed.ac.uk> <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>
next in thread | previous in thread | raw e-mail | index | archive | help
> > Actually, mutexes almost always slow things down, so I doubt it's an > > optimization issue. It's probably to ensure a method is completely > > JIT'd before they allow execution of the new version. > > It's almost certainly a mixture of things including properly > synchronizing the JIT process. But in the case JITing, you have > a common dictionary that you have to protect so that the possiblity > of multipule threading compiling block into it can proceed in > a non-racy manner. They allow multiple JIT compile threads? That seems like a problem waiting for a solution. Are you *sure*? I can't exactly say if this is the case just > yet, but it would make sense if all the executing threads where > able to JIT blocks and/or manage a pool of thread doing the > compiling and inserting the results into a common data structure. 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. Nate 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?15514.28841.407418.877991>