[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC] temporary Lisp_Strings
From: |
Dmitry Antipov |
Subject: |
Re: [RFC] temporary Lisp_Strings |
Date: |
Tue, 02 Sep 2014 19:24:02 +0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
On 09/02/2014 06:37 PM, Paul Eggert wrote:
What would the GC do when it sees such a string?
In theory, such a strings are out of GC's scope:
- If GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS, such a string is never recorded
in rb-tree and so GC should not recognize it as a collectable object;
- If GC_MARK_STACK == GC_USE_GCPROS_AS_BEFORE:
- If you GCPRO such a string, this is fatal error;
- Otherwise GC just silently ignores it.
Wouldn't this make the GC a bit less robust, as it couldn't diagnose
bogus strings any more when GC_CHECK_MARKED_OBJECTS is defined?
No ideas yet, this should be investigated.
Dmitry
- Re: Benchmarking temporary Lisp objects [Was: Re: [RFC] temporary Lisp_Strings], (continued)
- Re: Benchmarking temporary Lisp objects [Was: Re: [RFC] temporary Lisp_Strings], Stefan Monnier, 2014/09/05
- Re: Benchmarking temporary Lisp objects [Was: Re: [RFC] temporary Lisp_Strings], Dmitry Antipov, 2014/09/08
- Re: Benchmarking temporary Lisp objects [Was: Re: [RFC] temporary Lisp_Strings], Dmitry Antipov, 2014/09/08
- Re: Benchmarking temporary Lisp objects [Was: Re: [RFC] temporary Lisp_Strings], Stefan Monnier, 2014/09/08
- Re: Benchmarking temporary Lisp objects [Was: Re: [RFC] temporary Lisp_Strings], Stefan Monnier, 2014/09/08
- Re: Benchmarking temporary Lisp objects [Was: Re: [RFC] temporary Lisp_Strings], Stefan Monnier, 2014/09/08
Re: [RFC] temporary Lisp_Strings, Paul Eggert, 2014/09/02
[RFC] temporary Lisp_Strings, Dmitry Antipov, 2014/09/02