Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 36758 invoked from network); 22 Oct 2007 11:09:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Oct 2007 11:09:12 -0000 Received: (qmail 98693 invoked by uid 500); 22 Oct 2007 11:08:59 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 98649 invoked by uid 500); 22 Oct 2007 11:08:59 -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 98640 invoked by uid 99); 22 Oct 2007 11:08:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Oct 2007 04:08:59 -0700 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.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Oct 2007 11:09:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9149271418F for ; Mon, 22 Oct 2007 04:08:50 -0700 (PDT) Message-ID: <13714577.1193051330585.JavaMail.jira@brutus> Date: Mon, 22 Oct 2007 04:08:50 -0700 (PDT) From: "Pavel Afremov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Created: (HARMONY-4991) [jit] Fix compressed references support for heaps up to 4Gb MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [jit] Fix compressed references support for heaps up to 4Gb ----------------------------------------------------------- Key: HARMONY-4991 URL: https://issues.apache.org/jira/browse/HARMONY-4991 Project: Harmony Issue Type: Bug Components: DRLVM Environment: Linux x86-64 & Windows x86-64 Reporter: Pavel Afremov Priority: Critical I tried to run DRL VM in OPT mode with patch from HARMONY-4982 . The result is sigsegv in jited code. at java.lang.AbstractStringBuilder.append0() (Ln 168, ...\classlib\modules\luni\src\main\java\java\lang\AbstractStringBuilder.java " if (newSize > value.length) {") at HeapTest.func() (Ln 15, .\HeapTest.java " System.out.println("iteration " + i);") at HeapTest.main() (Ln 6, .\HeapTest.java " test.func();") The source of it is incorrect signed extension of 32 bit value to 64 bit register (marked by red in attached assembly code). 0000000005967D47 mov eax,dword ptr [rbx+8] 0000000005967D4A movsxd rax,eax 0000000005967D4D mov rsi,7FFF0000h 0000000005967D57 mov r12,rax 0000000005967D5A add r12,rsi 0000000005967D5D mov qword ptr [rsp],r12 0000000005967D61 mov rax,7FFF0000h 0000000005967D6B cmp r12,rax 0000000005967D6E je 0000000005967E05 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.