[webkit-dev] Bus Error on AtomicString.cpp

Darin Adler darin at apple.com
Tue May 19 11:52:54 PDT 2009


On May 19, 2009, at 11:37 AM, Zongheng Zhou wrote:

> My question is, where does the alignment happen that guarantee  
> 'characters' is aligned by 4-byte?

It doesn’t.

> I know it must happen at somewhere, but just can't find it.

Nope.

Many, if not most, processors can support this optimization even when  
the pointer is not aligned. We just need the appropriate ifdefs so the  
optimization is not attempted on processors that don’t support it.

     -- Darin



More information about the webkit-dev mailing list