Return-Path: X-Original-To: apmail-groovy-dev-archive@minotaur.apache.org Delivered-To: apmail-groovy-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7FCE010AB5 for ; Tue, 8 Sep 2015 07:52:25 +0000 (UTC) Received: (qmail 1946 invoked by uid 500); 8 Sep 2015 07:52:25 -0000 Delivered-To: apmail-groovy-dev-archive@groovy.apache.org Received: (qmail 1904 invoked by uid 500); 8 Sep 2015 07:52:25 -0000 Mailing-List: contact dev-help@groovy.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@groovy.incubator.apache.org Delivered-To: mailing list dev@groovy.incubator.apache.org Received: (qmail 1894 invoked by uid 99); 8 Sep 2015 07:52:25 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2015 07:52:25 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 9E12CC0252 for ; Tue, 8 Sep 2015 07:52:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.901 X-Spam-Level: *** X-Spam-Status: No, score=3.901 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, KAM_LIVE=1, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id nxY538iRIUpE for ; Tue, 8 Sep 2015 07:52:11 +0000 (UTC) Received: from mail-oi0-f45.google.com (mail-oi0-f45.google.com [209.85.218.45]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id E8A92204DD for ; Tue, 8 Sep 2015 07:52:10 +0000 (UTC) Received: by oiev17 with SMTP id v17so54108639oie.1 for ; Tue, 08 Sep 2015 00:52:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=KVB5aVBTDiwuJ0IiYaMqAFQ40MqYSVFgFp86+D90d5Q=; b=MirbA4Wh9yz3/xYDtZCHme3Je4fUMTPZj6a5WcFrnrI0XllAqPL2oUMulQa+NOi1/C qp+Sk/ISZJ8Dqmg0OxO9Cw+29XZSI6nliHaYYHPis6rbEMqH7Hxrpt80Uj1L+0vCgsl9 ZMIZ+RFZxoOztXREnX32xWMW3pMY0oEnI15op+lIY7gTNG2ZUkF01NcN+Herl5glVB2r Dd/R9DFOrgMbLgXStawXRo/nAXH1uhCgWx/1FZsDBkqN3/6ru/2QtvQb4DCs8ZDAFQmQ BNslRtVbblMlzWb2ku3+yUxgUn1NlGWRVIzBridlVZsq/RGpLVR+pGdlsmypK/h5xHG5 9D8w== MIME-Version: 1.0 X-Received: by 10.202.73.142 with SMTP id w136mr12494481oia.32.1441698724288; Tue, 08 Sep 2015 00:52:04 -0700 (PDT) Received: by 10.202.188.69 with HTTP; Tue, 8 Sep 2015 00:52:04 -0700 (PDT) In-Reply-To: <55EE8FB1.3060001@gmx.org> References: <55EE8FB1.3060001@gmx.org> Date: Tue, 8 Sep 2015 09:52:04 +0200 Message-ID: Subject: Re: Rolling back change to use ClassValue From: Guillaume Laforge To: dev@groovy.incubator.apache.org Content-Type: multipart/alternative; boundary=001a1134fe14559de3051f37a4c6 --001a1134fe14559de3051f37a4c6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Or perhaps a kind of feature toggle, with an environment variable? We use the former mechanism by default, unless this env var is set to true? That way we can still easily check if the VM bug / behavior is fixed / changed? On Tue, Sep 8, 2015 at 9:35 AM, Jochen Theodorou wrote: > Am 08.09.2015 09:07, schrieb C=C3=A9dric Champeau: > >> Hi guys, >> >> As some of you may know, I've been investigating a memory leak which >> involves all versions of Groovy starting from 2.4. The leak comes from a >> bug in the VM regarding how it handles ClassValue, that Groovy 2.4 >> started using. All VMs are affected (7, 8 and 9) and it's still unclear >> when this will be fixed. So I would like to suggest to rollback this >> change for the next release. >> >> Basically, this commit: >> >> https://github.com/apache/incubator-groovy/commit/97d78e9e52deb52c8e66db= 501ef208f30384d014 >> >> It greatly affects Gradle, so I would suggest to make the change ASAP >> (2.4.5) if everyone agrees. >> > > -1 > > We can disable it by default till we find a better solution. But we don't > need to roll it back completely. I am afraid of the fix not being > applicable later on anymore > > bye blackdrag > > -- > Jochen "blackdrag" Theodorou > blog: http://blackdragsview.blogspot.com/ > > --=20 Guillaume Laforge Apache Groovy committer & PMC member Product Ninja & Advocate at Restlet Blog: http://glaforge.appspot.com/ Social: @glaforge / Google+ --001a1134fe14559de3051f37a4c6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Or perhaps a kind of feature toggle, with an environment v= ariable?
We use the former mechanism by default, unless this env var is= set to true?
That way we can still easily check if the VM bug / = behavior is fixed / changed?

On Tue, Sep 8, 2015 at 9:35 AM, Jochen Theodorou <b= lackdrag@gmx.org> wrote:
Am 08.09.2015 09:07, schrieb C=C3= =A9dric Champeau:
Hi guys,

As some of you may know, I've been investigating a memory leak which involves all versions of Groovy starting from 2.4. The leak comes from a bug in the VM regarding how it handles ClassValue, that Groovy 2.4
started using. All VMs are affected (7, 8 and 9) and it's still unclear=
when this will be fixed. So I would like to suggest to rollback this
change for the next release.

Basically, this commit:
https://gi= thub.com/apache/incubator-groovy/commit/97d78e9e52deb52c8e66db501ef208f3038= 4d014

It greatly affects Gradle, so I would suggest to make the change ASAP
(2.4.5) if everyone agrees.

-1

We can disable it by default till we find a better solution. But we don'= ;t need to roll it back completely. I am afraid of the fix not being applic= able later on anymore

bye blackdrag

--
Jochen "blackdrag" Theodorou
blog: http://blackdragsview.blogspot.com/




--
Guillaume Laforge
Apache Groovy committer= & PMC member
Product Ninja & Advocate at Restlet
--001a1134fe14559de3051f37a4c6--