Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 01D7B200AF7 for ; Mon, 9 May 2016 22:12:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0080916099C; Mon, 9 May 2016 20:12:15 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7282D160A15 for ; Mon, 9 May 2016 22:12:14 +0200 (CEST) Received: (qmail 72017 invoked by uid 500); 9 May 2016 20:12:13 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 71640 invoked by uid 99); 9 May 2016 20:12:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 May 2016 20:12:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1AA842C1F6B for ; Mon, 9 May 2016 20:12:13 +0000 (UTC) Date: Mon, 9 May 2016 20:12:13 +0000 (UTC) From: "Gary Gregory (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CSV-182) Allow some printing operations directly from CSVFormat MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 09 May 2016 20:12:15 -0000 [ https://issues.apache.org/jira/browse/CSV-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory updated CSV-182: ----------------------------- Fix Version/s: 1.4 > Allow some printing operations directly from CSVFormat > ------------------------------------------------------ > > Key: CSV-182 > URL: https://issues.apache.org/jira/browse/CSV-182 > Project: Commons CSV > Issue Type: Improvement > Components: Printer > Affects Versions: 1.3 > Environment: Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T08:41:47-08:00) > Maven home: E:\Java\apache-maven-3.3.9\bin\.. > Java version: 1.7.0_79, vendor: Oracle Corporation > Java home: C:\Program Files\Java\jdk1.7.0_79\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" > Reporter: Gary Gregory > Assignee: Gary Gregory > Fix For: 1.4 > > > Over in Apache Log4j-land, we are working on a GC-free logging epic. > We try hard to generate as few objects as possible. Right now, we create one CSVPrinter per logging event to create a CSV line for that event. > In order to get the best memory profile and performance, this ticket proposes to refactor the CSVPrinter and CSVFormat objects to allow a subset of print operations directly from the CSVFormat object. > I tested this patch with the Log4j Git master and it works. -- This message was sent by Atlassian JIRA (v6.3.4#6332)