Return-Path: Delivered-To: apmail-ibatis-dev-archive@www.apache.org Received: (qmail 72032 invoked from network); 15 Aug 2009 13:19:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Aug 2009 13:19:30 -0000 Received: (qmail 99042 invoked by uid 500); 15 Aug 2009 13:19:37 -0000 Delivered-To: apmail-ibatis-dev-archive@ibatis.apache.org Received: (qmail 98998 invoked by uid 500); 15 Aug 2009 13:19:37 -0000 Mailing-List: contact dev-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ibatis.apache.org Delivered-To: mailing list dev@ibatis.apache.org Received: (qmail 98990 invoked by uid 99); 15 Aug 2009 13:19:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Aug 2009 13:19:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Aug 2009 13:19:34 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DF6D9234C045 for ; Sat, 15 Aug 2009 06:19:14 -0700 (PDT) Message-ID: <731120842.1250342354914.JavaMail.jira@brutus> Date: Sat, 15 Aug 2009 06:19:14 -0700 (PDT) From: "Clinton Begin (JIRA)" To: dev@ibatis.apache.org Subject: [jira] Closed: (IBATIS-533) Thread blocking on AutoResultMap In-Reply-To: <2021076967.1219939004247.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/IBATIS-533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clinton Begin closed IBATIS-533. -------------------------------- Resolution: Fixed > Thread blocking on AutoResultMap > -------------------------------- > > Key: IBATIS-533 > URL: https://issues.apache.org/jira/browse/IBATIS-533 > Project: iBatis for Java > Issue Type: Bug > Affects Versions: 2.3.2 > Reporter: Robert McIntosh > Priority: Critical > > The AutoResultMap class' getResults method is synchronized. This causes threads to get backed up when a moderate load is on the system. The end result is that our heap gets overloaded and eventually the app stops. > it appears from looking at the code that the synchronize only needs to be on the remapping and/or initial construction of the result mappings. Would suggest making the the initialize method synchronized at the very least, so that once the mapping is created no blocking of threads is necessary. > May be related to issue 519 as well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ibatis.apache.org For additional commands, e-mail: dev-help@ibatis.apache.org