Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 18239 invoked from network); 7 Feb 2006 18:48:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Feb 2006 18:48:37 -0000 Received: (qmail 26056 invoked by uid 500); 7 Feb 2006 18:48:21 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 25968 invoked by uid 500); 7 Feb 2006 18:48:20 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 25931 invoked by uid 99); 7 Feb 2006 18:48:20 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Feb 2006 10:48:19 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id E3CCADF for ; Tue, 7 Feb 2006 19:47:58 +0100 (CET) Message-ID: <1210839296.1139338078930.JavaMail.jira@ajax.apache.org> Date: Tue, 7 Feb 2006 19:47:58 +0100 (CET) From: "Daniel John Debrunner (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Resolved: (DERBY-921) Support 32bit branch offsets for conditional logic in generated code. In-Reply-To: <2127721550.1138997613255.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-921?page=all ] Daniel John Debrunner resolved DERBY-921: ----------------------------------------- Resolution: Fixed > Support 32bit branch offsets for conditional logic in generated code. > --------------------------------------------------------------------- > > Key: DERBY-921 > URL: http://issues.apache.org/jira/browse/DERBY-921 > Project: Derby > Type: Sub-task > Components: Services, SQL > Reporter: Daniel John Debrunner > Assignee: Daniel John Debrunner > Priority: Minor > Fix For: 10.2.0.0 > > Conditionals in generated code (MethodBuilder.conditionalIf and conditionalIfNull) generate code that only supports 16 bit jump offsets for the branch opcode (e.g. IFNONNULL) or the GOTO opcode. Earlier code now detects the offset being larger than 32767. > The JVM supports a 32bit jump offset instruction, GOTO_W, this can be used to support jump offsets that are bigger than 16bits (32767) for both the branch opcode > and the GOTO instruction. > This allow increasing the number of logical operators as seen in the query in the largeCodeGen test. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira