Andy Dougherty wrote:
On Fri, 11 May 2007, Leopold Toetsch via RT wrote:

Well, I saw some patches [1] floating by which did remove PObj_bufstart_external_FLAG. This flag was needed to sync the malloc-based allocators with parrots (and COWs) understanding of a 'not owned' / external buffer/string memory resource. COWed strings are not external to the malloc-based GCs, they just have an increased ref-count.

I was never able to fix string allocation and COW in such a way that this flag would be obsolete with GC_IS_MALLOC.

Yes, after staring at it for quite a while, I'm beginning to see what you mean :-).

Add it back in if you need it. The flag has been gone for more than a year, was never set anywhere, and was only checked in one line of code (a check that would always be false, since the flag was never set). So, it's completely gone for now (r18470), until we actually use it.

Allison

Reply via email to