From owner-freebsd-java@FreeBSD.ORG Mon Feb 4 19:30:31 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 275B916A418 for ; Mon, 4 Feb 2008 19:30:31 +0000 (UTC) (envelope-from anders@FreeBSD.org) Received: from fupp.net (totem.fix.no [80.91.36.20]) by mx1.freebsd.org (Postfix) with ESMTP id DB1D713C442 for ; Mon, 4 Feb 2008 19:30:30 +0000 (UTC) (envelope-from anders@FreeBSD.org) Received: from localhost (totem.fix.no [80.91.36.20]) by fupp.net (Postfix) with ESMTP id 3FEBC8DAA3B for ; Mon, 4 Feb 2008 20:05:13 +0100 (CET) Received: from fupp.net ([80.91.36.20]) by localhost (totem.fix.no [80.91.36.20]) (amavisd-new, port 10024) with LMTP id 9sC5oTgH0twx for ; Mon, 4 Feb 2008 20:05:12 +0100 (CET) Received: by fupp.net (Postfix, from userid 1000) id C10848DAA3A; Mon, 4 Feb 2008 20:05:12 +0100 (CET) Date: Mon, 4 Feb 2008 20:05:12 +0100 From: Anders Nordby To: freebsd-java@freebsd.org Message-ID: <20080204190512.GA62262@fupp.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-PGP-Key: http://anders.fix.no/pgp/ X-PGP-Key-FingerPrint: 1E0F C53C D8DF 6A8F EAAD 19C5 D12A BC9F 0083 5956 User-Agent: Mutt/1.5.11 Subject: Processes stuck in umtx state using libthr X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2008 19:30:31 -0000 Hi, I just wonder if anyone else is having problems with Java 1.5 processes getting stuck in umtx state, and spending lots and lots of CPU time? It seems that switching back to the default (kse) threading library libpthread, instead of using libthr, helps. I had been using libthr because it seemed to help avoiding some other bugs/problems, but I guess I just have to stop doing that (with FreeBSD 6, at least). PS: This is on 64-bit platform, FreeBSD 6.3/amd64. On FreeBSD 6.2/i386, using libthr was not a problem for me. Bye, -- Anders.