From owner-freebsd-java@FreeBSD.ORG Thu Feb 9 23:53:14 2006 Return-Path: X-Original-To: java@freebsd.org 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 9524216A420 for ; Thu, 9 Feb 2006 23:53:14 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from mail.mcneil.com (mcneil.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49C7F43D46 for ; Thu, 9 Feb 2006 23:53:14 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id 15BA4F2521; Thu, 9 Feb 2006 15:53:14 -0800 (PST) Received: from mail.mcneil.com ([127.0.0.1]) by localhost (triton.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 53394-06; Thu, 9 Feb 2006 15:53:13 -0800 (PST) Received: from mcneil.com (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id 8F643F1AAE; Thu, 9 Feb 2006 15:53:13 -0800 (PST) From: Sean McNeil To: Panagiotis Astithas In-Reply-To: <1139446721.83646.2.camel@triton.mcneil.com> References: <1139010212.56353.7.camel@triton.mcneil.com> <43E76A23.4030704@ebs.gr> <1139446721.83646.2.camel@triton.mcneil.com> Content-Type: text/plain Date: Thu, 09 Feb 2006 15:53:13 -0800 Message-Id: <1139529193.18075.2.camel@triton.mcneil.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mcneil.com Cc: java@freebsd.org Subject: Re: java crash on amd64 when switching to java perspective in eclipse 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: Thu, 09 Feb 2006 23:53:14 -0000 On Wed, 2006-02-08 at 16:58 -0800, Sean McNeil wrote: > Great! I've read this information and guess-timated where the issue > with REX and NEGL happens to be. With a simple little patch I've > managed to eliminate my repeatable crashes. The system seems much much > more stable now. > > --- hotspot/src/cpu/amd64/vm/amd64.ad.orig Wed Feb 8 15:18:24 2006 > +++ hotspot/src/cpu/amd64/vm/amd64.ad Wed Feb 8 15:17:35 2006 > @@ -7246,7 +7246,7 @@ > > format %{ "negl $dst\t# int" %} > opcode(0xF7, 0x03); // Opcode F7 /3 > - ins_encode(REX_reg(dst), OpcP, RM_opc_mem(secondary, dst)); > + ins_encode(REX_mem(dst), OpcP, RM_opc_mem(secondary, dst)); > ins_pipe(ialu_reg); > %} Just to let you know, I've been using eclipse with this fix now for 2 days of heavy usage and haven't crashed once. You mentioned a ports freeze in other emails - can this patch get in before the freeze?