[webkit-dev] Changing data structures in webkit

Filip Pizlo fpizlo at apple.com
Mon Aug 5 08:35:18 PDT 2013


JSValue must be 64 bits, no more, no less. This is a hard requirement for all of our execution engines. 

-Filip

> On Aug 5, 2013, at 6:57 AM, Abhishek Bichhawat <abhishek_bichhawat at yahoo.co.in> wrote:
> 
> Hi,
> 
> I tried changing the JSValue.h and JSCell.h classes by adding new fields. It runs fine in some of the cases, but in some other cases an assert fails when it checks if it is an "m_cell" in isString() function of JSString/JSValue. I suspect that it is related to some garbage collection as the website is loading and then it fails. I was wondering if there are some size checks that need to be fulfilled for this to go through fine and GC to run fine.
> 
> Thanks and Regards,
> Abhishek
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20130805/7e941167/attachment.html>


More information about the webkit-dev mailing list