[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Running app with ARC turned off
From: |
Andreas Fink |
Subject: |
Re: Running app with ARC turned off |
Date: |
Tue, 10 Dec 2024 12:29:31 +0100 |
valgrind should have no issue with ARC at all. In fact it results in objects
being released instantly instead of sometimes later so memory issues might show
up quicker.
But as valgrind traces malloc/free calls (or some variants of them) which ARC
ultimately use at some point, using ARC or not should not have any effect.
> On 10 Dec 2024, at 12:07, Daniel Santos <daniel.dlds@gmail.com> wrote:
>
> Hi,
>
> I am developing an application that runs both in NeXTStep and on Linux with
> GNUStep.
> As far as I know GNUStep uses Auto release pools to manage memory and
> Automatic Reference Counting.
>
> I want to run the app under valgrind on Linux with ARC turned off because
> debugging memory leaks with NeXTStep tool (malloc debug I think that’s what
> is called) is much harder and the tool is not as good as valgrind.
>
> Is it possible to turn off ARC in GNUstep ?
>
> Thanks,
> Regards
> Daniel Santos
>
>
>
>