[TYPO3-mvc] ObjectStorage with large quantities of DB-Objects

Nils Blattner nb at cabag.ch
Wed May 26 18:10:58 CEST 2010


>>
>> I take it you refer to chunks of memory referencing between each other,
>> but not connected to the root in any way when you say cyclic references.
>
> I mean two objects referring to each other (as seen in my example from above).

Well the main distinction is that they are not connected to the root, as 
thats what mark 'n sweep GC's go for.
I take it you mean your case 1 to have unset(child) aswell or 
parent->child->parent = parent instead of the 2nd line which would make 
more sense.

>
>> So they changed from reference counting to mark 'n sweep in 5.3?
>
> I found an article in the Net that explained the new garbage collector of PHP 5.3. Of course I have
> no idea of the URL any more (sorry). The only thing I remember is that the old system sucks and the
> new one is sane :)
>
> Masi

If you happen to trip over it again please post it around here somewhere :)

I'd be very intrested in what GC they switch from and to.
Tough PHP has very special needs compared to other languages, as it's 
not a persistent language but per call and mark 'n sweep might even be 
overkill.


However I am diverging from the original topic ^^

Wish you all

Nils


More information about the TYPO3-project-typo3v4mvc mailing list