Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 98808 invoked from network); 18 Sep 2010 15:04:00 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Sep 2010 15:04:00 -0000 Received: (qmail 37094 invoked by uid 500); 18 Sep 2010 15:03:59 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 36738 invoked by uid 500); 18 Sep 2010 15:03:57 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 36731 invoked by uid 99); 18 Sep 2010 15:03:56 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Sep 2010 15:03:56 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Sep 2010 15:03:54 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8IF3Xwh001061 for ; Sat, 18 Sep 2010 15:03:33 GMT Message-ID: <3662579.274981284822213319.JavaMail.jira@thor> Date: Sat, 18 Sep 2010 11:03:33 -0400 (EDT) From: "Robert Muir (JIRA)" To: dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-2651) Add support for MMapDirectory's unmap in Apache Harmony In-Reply-To: <1853581.260981284759512840.JavaMail.jira@thor> 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/LUCENE-2651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12911031#action_12911031 ] Robert Muir commented on LUCENE-2651: ------------------------------------- I tested the patch, i don't think we should add this yet. at a basic level, it works. for example TestIndexFileDeleter.testDeleteLeftoverFiles will pass, where it fails without it. but other tests will fail, such as TestIndexReaderReopen. its worth mentioning that mmapdirectory didnt even work at all with 5.0M14, and only started working with 5.0M15 (released a few days ago). before the latest release it just wrote corrupted indexes. so it would be better for now to not supply a cleaner for harmony, and let it default to SimpleFSDirectory always. > Add support for MMapDirectory's unmap in Apache Harmony > ------------------------------------------------------- > > Key: LUCENE-2651 > URL: https://issues.apache.org/jira/browse/LUCENE-2651 > Project: Lucene - Java > Issue Type: Improvement > Reporter: Uwe Schindler > Assignee: Uwe Schindler > Fix For: 3.1, 4.0 > > Attachments: LUCENE-2651.patch, LUCENE-2651.patch, LUCENE-2651.patch > > > The setUseUnmap does not work on Apache Harmony, this patch adds support for it. It also fixes a small problem, that unmapping a clone may cause a sigsegv. -- 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@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org