bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#41321: 27.0.91; Emacs aborts due to invalid pseudovector objects


From: Paul Eggert
Subject: bug#41321: 27.0.91; Emacs aborts due to invalid pseudovector objects
Date: Sat, 30 May 2020 11:17:31 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0

On 5/30/20 11:11 AM, Eli Zaretskii wrote:
So any pointer whose alignment is the same as 'struct Lisp_Symbol'
will pass the test, regardless of the tag bits?  That's basically most
of the struct pointers on those architectures, no?

Yes, pretty much.

This is an inevitable consequence of the problem at hand. For aligned pointers we must consult the red-black tree no matter what solution we pick, because the compiler may have aligned a pointer for us.

Just to make sure we're on the same page here. This stuff is only about how to improve performance (compared to the patch proposed for emacs-27 in Bug#41321#332) by doing fast checks on words before giving them to the red-black search.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]