Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 88430 invoked from network); 19 Dec 2007 17:55:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Dec 2007 17:55:34 -0000 Received: (qmail 44694 invoked by uid 500); 19 Dec 2007 17:55:23 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 44672 invoked by uid 500); 19 Dec 2007 17:55:23 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 44662 invoked by uid 99); 19 Dec 2007 17:55:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Dec 2007 09:55:23 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Dec 2007 17:55:19 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id BF6E81A9832; Wed, 19 Dec 2007 09:55:10 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r605636 - /harmony/enhanced/drlvm/trunk/vm/port/src/lil/em64t/pim/stack_iterator_em64t.cpp Date: Wed, 19 Dec 2007 17:55:10 -0000 To: commits@harmony.apache.org From: gshimansky@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071219175510.BF6E81A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: gshimansky Date: Wed Dec 19 09:55:08 2007 New Revision: 605636 URL: http://svn.apache.org/viewvc?rev=605636&view=rev Log: Fixed HARMONY-5329 [drlvm][exception] With JVMTI enabled ExceptionCatch event makes VM to crash in release mode Patch adds additional space in stack for callback function to operate in. Modified: harmony/enhanced/drlvm/trunk/vm/port/src/lil/em64t/pim/stack_iterator_em64t.cpp Modified: harmony/enhanced/drlvm/trunk/vm/port/src/lil/em64t/pim/stack_iterator_em64t.cpp URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/port/src/lil/em64t/pim/stack_iterator_em64t.cpp?rev=605636&r1=605635&r2=605636&view=diff ============================================================================== --- harmony/enhanced/drlvm/trunk/vm/port/src/lil/em64t/pim/stack_iterator_em64t.cpp (original) +++ harmony/enhanced/drlvm/trunk/vm/port/src/lil/em64t/pim/stack_iterator_em64t.cpp Wed Dec 19 09:55:08 2007 @@ -526,7 +526,10 @@ void si_set_callback(StackIterator* si, NativeCodePtr* callback) { #ifdef WIN32 - const static uint64 red_zone_size = 0x00; + // Shadow memory to save 4 registers into stack, + // this is necessary for WIN64 calling conventions. + // NOTE: This file is used only for x86_64 architectures + const static uint64 red_zone_size = 0x28; #else const static uint64 red_zone_size = 0x88; #endif