[webkit-dev] Changing data structures in webkit

Abhishek Bichhawat abhishek_bichhawat at yahoo.co.in
Tue Aug 6 09:52:02 PDT 2013


Thanks. But, is it not possible at all to modify the JSValue class by adding respective fields in some other classes, to may be keep the size same or have the same fields or something?


________________________________
 From: Filip Pizlo <fpizlo at apple.com>
To: Abhishek Bichhawat <abhishek_bichhawat at yahoo.co.in> 
Cc: "webkit-dev at lists.webkit.org" <webkit-dev at lists.webkit.org> 
Sent: Monday, 5 August 2013 5:35 PM
Subject: Re: [webkit-dev] Changing data structures in webkit
 


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/20130807/ed66fd6a/attachment.html>


More information about the webkit-dev mailing list