From owner-freebsd-java Wed Aug 14 6: 7:41 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 686B837B400 for ; Wed, 14 Aug 2002 06:07:40 -0700 (PDT) Received: from ns.gddsn.org.cn (ns.gddsn.org.cn [210.21.6.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00B3F43E72 for ; Wed, 14 Aug 2002 06:07:40 -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 6F2945CB; Wed, 14 Aug 2002 21:07:31 +0800 (CST) Message-ID: <3D5A5612.2060508@mail.gddsn.org.cn> Date: Wed, 14 Aug 2002 21:07:30 +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: "Bill Huey (Hui)" Cc: java Subject: Re: Hotspot vm is extremely slower than nojit vm on current ? References: <3D59C6A4.5020708@mail.gddsn.org.cn> <20020814105205.GA5605@gnuppy.monkey.org> 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 Bill Huey (Hui) wrote: >On Wed, Aug 14, 2002 at 10:55:32AM +0800, Huang wen hui wrote: > >Mabey I'm a bit slow right now, but I'm unsure what you're trying to >do in this example concerning sleep ? Why is this commented out ? > well, I want to show that something tie main thread and timer thread together, timer thead can effect main thread elapse time, though timer thread does not eat cpu time. maybe any two threads also have this problem. I choose wrong sleep time(60sec) in main thread, if I choose the sleep tim less than 20 sec, then I can forget query(). I recognized this after I post first mail. --hwh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message