What is CycleBreaker?

View: New views
7 Messages — Rating Filter:   Alert me  

What is CycleBreaker?

by jmborer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello castor users,

Can someone explain what CycleBreaker is used for? Appart, from
bugging and creating memory leaks, I don't see its usefulness.

We had problems when moving from 0.9.4 to 1.3.1. So we simply removed
everything related to CycleBreaker in the XML generation and all our
problems are gone...

Cheers,

Jean-Marc

PS: Sorry for replying with this mail

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: What is CycleBreaker?

by Werner Guttmann-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Jean-Marc,

CycleBreaker seems to me a class designed to deal with improving code
generation for hashCode() methods. As far as I remember, it has been a
contribution of a user some years ago.

As far as I can tell, it related to

http://jira.codehaus.org/browse/CASTOR-2012

Having said that, I am more than happy to e.g. allow users to disable
this code portion during code generation by exposing a new property.

Regards
Werner

Jean-Marc Borer wrote:

> Hello castor users,
>
> Can someone explain what CycleBreaker is used for? Appart, from
> bugging and creating memory leaks, I don't see its usefulness.
>
> We had problems when moving from 0.9.4 to 1.3.1. So we simply removed
> everything related to CycleBreaker in the XML generation and all our
> problems are gone...
>
> Cheers,
>
> Jean-Marc
>
> PS: Sorry for replying with this mail
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: What is CycleBreaker?

by jmborer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes please, do that. I the meantime we downloaded the sources 1.3.1
and modified Castor generation to completely eliminate the
CylcleBreaker stuff. Everything runs smoothly in our multithreaded
applications since then.

I already talk a little bit about that topic at
http://jira.codehaus.org/browse/CASTOR-2746

On Wed, Sep 2, 2009 at 8:20 PM, Werner Guttmann<wguttmn@...> wrote:

> Hi Jean-Marc,
>
> CycleBreaker seems to me a class designed to deal with improving code
> generation for hashCode() methods. As far as I remember, it has been a
> contribution of a user some years ago.
>
> As far as I can tell, it related to
>
> http://jira.codehaus.org/browse/CASTOR-2012
>
> Having said that, I am more than happy to e.g. allow users to disable
> this code portion during code generation by exposing a new property.
>
> Regards
> Werner
>
> Jean-Marc Borer wrote:
>> Hello castor users,
>>
>> Can someone explain what CycleBreaker is used for? Appart, from
>> bugging and creating memory leaks, I don't see its usefulness.
>>
>> We had problems when moving from 0.9.4 to 1.3.1. So we simply removed
>> everything related to CycleBreaker in the XML generation and all our
>> problems are gone...
>>
>> Cheers,
>>
>> Jean-Marc
>>
>> PS: Sorry for replying with this mail
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: What is CycleBreaker?

by Werner Guttmann-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Okay. Can I please ask you to create a new Jira issue at

http://jira.codehaus.org/browse/CASTOR

asking us to make the use of CycleBreaker configurable, and as you
happen to have patched things locally, it should be quite (?) easy to
come up with a patch (even if it's one that removes its usage).

I will take care of it later on this week .....

Werner

PS Can I take it that you checked out code from SVN ?

Jean-Marc Borer wrote:

> Yes please, do that. I the meantime we downloaded the sources 1.3.1
> and modified Castor generation to completely eliminate the
> CylcleBreaker stuff. Everything runs smoothly in our multithreaded
> applications since then.
>
> I already talk a little bit about that topic at
> http://jira.codehaus.org/browse/CASTOR-2746
>
> On Wed, Sep 2, 2009 at 8:20 PM, Werner Guttmann<wguttmn@...> wrote:
>> Hi Jean-Marc,
>>
>> CycleBreaker seems to me a class designed to deal with improving code
>> generation for hashCode() methods. As far as I remember, it has been a
>> contribution of a user some years ago.
>>
>> As far as I can tell, it related to
>>
>> http://jira.codehaus.org/browse/CASTOR-2012
>>
>> Having said that, I am more than happy to e.g. allow users to disable
>> this code portion during code generation by exposing a new property.
>>
>> Regards
>> Werner
>>
>> Jean-Marc Borer wrote:
>>> Hello castor users,
>>>
>>> Can someone explain what CycleBreaker is used for? Appart, from
>>> bugging and creating memory leaks, I don't see its usefulness.
>>>
>>> We had problems when moving from 0.9.4 to 1.3.1. So we simply removed
>>> everything related to CycleBreaker in the XML generation and all our
>>> problems are gone...
>>>
>>> Cheers,
>>>
>>> Jean-Marc
>>>
>>> PS: Sorry for replying with this mail
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>     http://xircles.codehaus.org/manage_email
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: What is CycleBreaker?

by jmborer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I will file an issue about that. We checked it out from the SVN of
course. Maybe it is not worth I send you a patch because we just
deleted the stuff related to CycleBreaker and did not make it
configurable.

Jean-Marc

On Thu, Sep 3, 2009 at 10:36 AM, Werner Guttmann<wguttmn@...> wrote:

> Okay. Can I please ask you to create a new Jira issue at
>
> http://jira.codehaus.org/browse/CASTOR
>
> asking us to make the use of CycleBreaker configurable, and as you
> happen to have patched things locally, it should be quite (?) easy to
> come up with a patch (even if it's one that removes its usage).
>
> I will take care of it later on this week .....
>
> Werner
>
> PS Can I take it that you checked out code from SVN ?
>
> Jean-Marc Borer wrote:
>> Yes please, do that. I the meantime we downloaded the sources 1.3.1
>> and modified Castor generation to completely eliminate the
>> CylcleBreaker stuff. Everything runs smoothly in our multithreaded
>> applications since then.
>>
>> I already talk a little bit about that topic at
>> http://jira.codehaus.org/browse/CASTOR-2746
>>
>> On Wed, Sep 2, 2009 at 8:20 PM, Werner Guttmann<wguttmn@...> wrote:
>>> Hi Jean-Marc,
>>>
>>> CycleBreaker seems to me a class designed to deal with improving code
>>> generation for hashCode() methods. As far as I remember, it has been a
>>> contribution of a user some years ago.
>>>
>>> As far as I can tell, it related to
>>>
>>> http://jira.codehaus.org/browse/CASTOR-2012
>>>
>>> Having said that, I am more than happy to e.g. allow users to disable
>>> this code portion during code generation by exposing a new property.
>>>
>>> Regards
>>> Werner
>>>
>>> Jean-Marc Borer wrote:
>>>> Hello castor users,
>>>>
>>>> Can someone explain what CycleBreaker is used for? Appart, from
>>>> bugging and creating memory leaks, I don't see its usefulness.
>>>>
>>>> We had problems when moving from 0.9.4 to 1.3.1. So we simply removed
>>>> everything related to CycleBreaker in the XML generation and all our
>>>> problems are gone...
>>>>
>>>> Cheers,
>>>>
>>>> Jean-Marc
>>>>
>>>> PS: Sorry for replying with this mail
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe from this list, please visit:
>>>>
>>>>     http://xircles.codehaus.org/manage_email
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>    http://xircles.codehaus.org/manage_email
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: What is CycleBreaker?

by jmborer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

By the way, in which module should I create the issue?

On Fri, Sep 4, 2009 at 9:55 PM, Jean-Marc Borer<jmborer@...> wrote:

> I will file an issue about that. We checked it out from the SVN of
> course. Maybe it is not worth I send you a patch because we just
> deleted the stuff related to CycleBreaker and did not make it
> configurable.
>
> Jean-Marc
>
> On Thu, Sep 3, 2009 at 10:36 AM, Werner Guttmann<wguttmn@...> wrote:
>> Okay. Can I please ask you to create a new Jira issue at
>>
>> http://jira.codehaus.org/browse/CASTOR
>>
>> asking us to make the use of CycleBreaker configurable, and as you
>> happen to have patched things locally, it should be quite (?) easy to
>> come up with a patch (even if it's one that removes its usage).
>>
>> I will take care of it later on this week .....
>>
>> Werner
>>
>> PS Can I take it that you checked out code from SVN ?
>>
>> Jean-Marc Borer wrote:
>>> Yes please, do that. I the meantime we downloaded the sources 1.3.1
>>> and modified Castor generation to completely eliminate the
>>> CylcleBreaker stuff. Everything runs smoothly in our multithreaded
>>> applications since then.
>>>
>>> I already talk a little bit about that topic at
>>> http://jira.codehaus.org/browse/CASTOR-2746
>>>
>>> On Wed, Sep 2, 2009 at 8:20 PM, Werner Guttmann<wguttmn@...> wrote:
>>>> Hi Jean-Marc,
>>>>
>>>> CycleBreaker seems to me a class designed to deal with improving code
>>>> generation for hashCode() methods. As far as I remember, it has been a
>>>> contribution of a user some years ago.
>>>>
>>>> As far as I can tell, it related to
>>>>
>>>> http://jira.codehaus.org/browse/CASTOR-2012
>>>>
>>>> Having said that, I am more than happy to e.g. allow users to disable
>>>> this code portion during code generation by exposing a new property.
>>>>
>>>> Regards
>>>> Werner
>>>>
>>>> Jean-Marc Borer wrote:
>>>>> Hello castor users,
>>>>>
>>>>> Can someone explain what CycleBreaker is used for? Appart, from
>>>>> bugging and creating memory leaks, I don't see its usefulness.
>>>>>
>>>>> We had problems when moving from 0.9.4 to 1.3.1. So we simply removed
>>>>> everything related to CycleBreaker in the XML generation and all our
>>>>> problems are gone...
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Jean-Marc
>>>>>
>>>>> PS: Sorry for replying with this mail
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe from this list, please visit:
>>>>>
>>>>>     http://xircles.codehaus.org/manage_email
>>>>>
>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe from this list, please visit:
>>>>
>>>>    http://xircles.codehaus.org/manage_email
>>>>
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>     http://xircles.codehaus.org/manage_email
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: What is CycleBreaker?

by jmborer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Filed at http://jira.codehaus.org/browse/CASTOR-2834

On Fri, Sep 4, 2009 at 9:56 PM, Jean-Marc Borer<jmborer@...> wrote:

> By the way, in which module should I create the issue?
>
> On Fri, Sep 4, 2009 at 9:55 PM, Jean-Marc Borer<jmborer@...> wrote:
>> I will file an issue about that. We checked it out from the SVN of
>> course. Maybe it is not worth I send you a patch because we just
>> deleted the stuff related to CycleBreaker and did not make it
>> configurable.
>>
>> Jean-Marc
>>
>> On Thu, Sep 3, 2009 at 10:36 AM, Werner Guttmann<wguttmn@...> wrote:
>>> Okay. Can I please ask you to create a new Jira issue at
>>>
>>> http://jira.codehaus.org/browse/CASTOR
>>>
>>> asking us to make the use of CycleBreaker configurable, and as you
>>> happen to have patched things locally, it should be quite (?) easy to
>>> come up with a patch (even if it's one that removes its usage).
>>>
>>> I will take care of it later on this week .....
>>>
>>> Werner
>>>
>>> PS Can I take it that you checked out code from SVN ?
>>>
>>> Jean-Marc Borer wrote:
>>>> Yes please, do that. I the meantime we downloaded the sources 1.3.1
>>>> and modified Castor generation to completely eliminate the
>>>> CylcleBreaker stuff. Everything runs smoothly in our multithreaded
>>>> applications since then.
>>>>
>>>> I already talk a little bit about that topic at
>>>> http://jira.codehaus.org/browse/CASTOR-2746
>>>>
>>>> On Wed, Sep 2, 2009 at 8:20 PM, Werner Guttmann<wguttmn@...> wrote:
>>>>> Hi Jean-Marc,
>>>>>
>>>>> CycleBreaker seems to me a class designed to deal with improving code
>>>>> generation for hashCode() methods. As far as I remember, it has been a
>>>>> contribution of a user some years ago.
>>>>>
>>>>> As far as I can tell, it related to
>>>>>
>>>>> http://jira.codehaus.org/browse/CASTOR-2012
>>>>>
>>>>> Having said that, I am more than happy to e.g. allow users to disable
>>>>> this code portion during code generation by exposing a new property.
>>>>>
>>>>> Regards
>>>>> Werner
>>>>>
>>>>> Jean-Marc Borer wrote:
>>>>>> Hello castor users,
>>>>>>
>>>>>> Can someone explain what CycleBreaker is used for? Appart, from
>>>>>> bugging and creating memory leaks, I don't see its usefulness.
>>>>>>
>>>>>> We had problems when moving from 0.9.4 to 1.3.1. So we simply removed
>>>>>> everything related to CycleBreaker in the XML generation and all our
>>>>>> problems are gone...
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> Jean-Marc
>>>>>>
>>>>>> PS: Sorry for replying with this mail
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe from this list, please visit:
>>>>>>
>>>>>>     http://xircles.codehaus.org/manage_email
>>>>>>
>>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe from this list, please visit:
>>>>>
>>>>>    http://xircles.codehaus.org/manage_email
>>>>>
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe from this list, please visit:
>>>>
>>>>     http://xircles.codehaus.org/manage_email
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>    http://xircles.codehaus.org/manage_email
>>>
>>>
>>>
>>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email