Re: Garbage collection problems
- From: Keith Thompson <kst-u@xxxxxxx>
- Date: Mon, 19 Nov 2007 15:43:45 -0800
jacob navia wrote:
[...]
This depends on the application but it is obviously not true
for the type of applications I have ported (GUI programs in C, debugger,
IDE, make utility) The ONLY change I did was
#define malloc(a) GC_malloc(a)
#define free(a)
Of course I do NOT write pointers into disk files and expect them
there to be read after the machine is turned off :-)
Neither do I do XORing of pointers, etc etc.
Ok, that's great, I'm glad it works for you.
Note that what you're describing (replacing malloc with GC_malloc, and making free a no-op) is exactly what I had (incorrectly?) assumed you were talking about. Your response was sarcasm and abuse. Admittedly you're now talking about doing it at the application level rather than at the implementation level (I think).
Normal applications like 99.9999 C applications that can use the GC
without any problems!
Is 99.9999 intended to be an exaggeration, or do you really think the number is that high (I assume it's a percentage)?
--
Keith Thompson (The_Other_Keith) kst-u@xxxxxxx <http://www.ghoti.net/~kst>
Looking for software development work in the San Diego area.
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
.
- Follow-Ups:
- Re: Garbage collection problems
- From: jacob navia
- Re: Garbage collection problems
- References:
- Garbage collection problems
- From: jacob navia
- Re: Garbage collection problems
- From: Tor Rustad
- Re: Garbage collection problems
- From: cr88192
- Re: Garbage collection problems
- From: Richard Heathfield
- Re: Garbage collection problems
- From: cr88192
- Re: Garbage collection problems
- From: Charlton Wilbur
- Re: Garbage collection problems
- From: jacob navia
- Garbage collection problems
- Prev by Date: Put beauties on your pages,source code free to use:
- Next by Date: C file
- Previous by thread: Re: Garbage collection problems
- Next by thread: Re: Garbage collection problems
- Index(es):
Relevant Pages
|
Loading