From owner-freebsd-java Wed Aug 14 17:55:42 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8BFED37B400 for ; Wed, 14 Aug 2002 17:55:39 -0700 (PDT) Received: from ns.gddsn.org.cn (ns.gddsn.org.cn [210.21.6.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 225E943E70 for ; Wed, 14 Aug 2002 17:55:39 -0700 (PDT) (envelope-from hwh@ns.gddsn.org.cn) Received: from mail.gddsn.org.cn (gw [210.21.6.34]) by ns.gddsn.org.cn (Postfix) with ESMTP id 80404601; Thu, 15 Aug 2002 08:55:32 +0800 (CST) Message-ID: <3D5AFC04.5010404@mail.gddsn.org.cn> Date: Thu, 15 Aug 2002 08:55:32 +0800 From: Huang wen hui User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; zh-CN; rv:1.0.0) Gecko/20020728 X-Accept-Language: zh-cn, zh-tw, en-us MIME-Version: 1.0 To: Nate Williams Cc: Huang wen hui , java Subject: Re: Hotspot vm is extremely slower than nojit vm on current ? References: <3D59C6A4.5020708@mail.gddsn.org.cn> <20020814030231.GA4285@gnuppy.monkey.org> <3D5A0EBC.9060706@mail.gddsn.org.cn> <15706.34499.692329.335121@emerger.yogotech.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Nate Williams wrote: >>>>Mostly hotspot vm is stable and fast, but I got problem with Thread.sleep. >>>>Look at the following simple program, on current hotspot vm is extreamly >>>>slow. >>>> >>>> > >This is probably unrelated, but you should note that you need to use >synchronization on bQuit in order for it to be safely set. Otherwise, >it is OK for the Timer thread to cache it's value (set to FALSE) and >continue to use that value, so it may not pick up the new setting when >you want it to. > OK, Thanks for your advice! --hwh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message