[webkit-dev] Fwd: Understending LLInt

2012-11-14 Thread wingoog moon
-- Forwarded message -- From: wingoog moon wingoo...@gmail.com Date: Wed, Nov 14, 2012 at 1:51 AM Subject: Understending LLInt To: squirrelfish-...@lists.webkit.org Hi All. At which point LLInt starts to compile bytecode to the native code? If I'm not mistaken it should be in

Re: [webkit-dev] do you want WK1 and WK2 keywords in the TestExpectations files?

2012-11-14 Thread Žan Doberšek
On Tue, Nov 13, 2012 at 8:59 PM, Raphael Kubo da Costa rak...@webkit.orgwrote: Dirk Pranke dpra...@chromium.org writes: So, it seems like WK1 and WK2 keywords might be useful. However, I don't really want to add more divergence between ports, so it would be nice to have everyone agree to

Re: [webkit-dev] Fwd: Understending LLInt

2012-11-14 Thread Filip Pizlo
The LLInt doesn't compile anything to native code, since its an interpreter. It interprets the code instead. -Filip On Nov 14, 2012, at 3:19 AM, wingoog moon wingoo...@gmail.com wrote: -- Forwarded message -- From: wingoog moon wingoo...@gmail.com Date: Wed, Nov 14,

Re: [webkit-dev] RenderArena: Teaching an old dog new tricks

2012-11-14 Thread Chris Evans
On Wed, Nov 14, 2012 at 3:27 PM, Ojan Vafai o...@chromium.org wrote: On Wed, Nov 14, 2012 at 2:48 PM, Geoffrey Garen gga...@apple.com wrote: Hi Eric. Here are some problems in RenderArena that I know of: - Grows memory without bound - Duplicates the functionality of FastMalloc - Makes

Re: [webkit-dev] RenderArena: Teaching an old dog new tricks

2012-11-14 Thread Ryosuke Niwa
On Wed, Nov 14, 2012 at 3:19 PM, Chris Evans cev...@chromium.org wrote: On Tue, Nov 13, 2012 at 11:14 PM, Ryosuke Niwa rn...@webkit.org wrote: On Tue, Nov 13, 2012 at 10:23 PM, Eric Seidel e...@webkit.org wrote: RenderArena was a perf optimization for the rendering tree, which hyatt

Re: [webkit-dev] RenderArena: Teaching an old dog new tricks

2012-11-14 Thread Chris Evans
On Wed, Nov 14, 2012 at 2:48 PM, Geoffrey Garen gga...@apple.com wrote: Hi Eric. Here are some problems in RenderArena that I know of: - Grows memory without bound - Duplicates the functionality of FastMalloc - Makes allocation error-prone (allocation in the wrong arena is sometimes a

Re: [webkit-dev] RenderArena: Teaching an old dog new tricks

2012-11-14 Thread Ryosuke Niwa
On Wed, Nov 14, 2012 at 3:27 PM, Ojan Vafai o...@chromium.org wrote: On Wed, Nov 14, 2012 at 2:48 PM, Geoffrey Garen gga...@apple.com wrote: Having dealt with the specific technical question of RenderArena, I'd like to briefly discuss the meta-level of how the WebKit project works. Sam

Re: [webkit-dev] RenderArena: Teaching an old dog new tricks

2012-11-14 Thread Ryosuke Niwa
On Wed, Nov 14, 2012 at 3:46 PM, Chris Evans cev...@chromium.org wrote: On Wed, Nov 14, 2012 at 2:48 PM, Geoffrey Garen gga...@apple.com wrote: Hi Eric. Here are some problems in RenderArena that I know of: - Grows memory without bound - Duplicates the functionality of FastMalloc - Makes

Re: [webkit-dev] Adding blending mode to WebKit canvas

2012-11-14 Thread Rik Cabanier
On Wed, Nov 14, 2012 at 1:37 PM, Maciej Stachowiak m...@apple.com wrote: On Nov 14, 2012, at 8:33 AM, Rik Cabanier caban...@gmail.com wrote: On Tue, Nov 13, 2012 at 11:19 PM, Maciej Stachowiak m...@apple.com wrote: On Nov 13, 2012, at 4:43 PM, Rik Cabanier caban...@gmail.com wrote:

Re: [webkit-dev] Adding blending mode to WebKit canvas

2012-11-14 Thread Maciej Stachowiak
On Nov 14, 2012, at 5:19 PM, Rik Cabanier caban...@gmail.com wrote: I send the question to the fx list. Tab Atkins brought up that we could extend the 'globalCompositeOperator' so it also takes a comma separate list of a blend and a compositing operation. Calling:

Re: [webkit-dev] RenderArena: Teaching an old dog new tricks

2012-11-14 Thread Elliott Sprehn
I was present for one of the discussions about the exploit and how an arena like allocator could have helped at Google. One proposed solution was to allocate all the JS typed buffers in an arena. Is there a reason we can't just do that? It's much less intrusive to allocate ArrayBuffer in an arena

Re: [webkit-dev] RenderArena: Teaching an old dog new tricks

2012-11-14 Thread Ryosuke Niwa
On Wed, Nov 14, 2012 at 9:59 PM, Adam Barth aba...@webkit.org wrote: On Nov 14, 2012 8:59 PM, Ryosuke Niwa rn...@webkit.org wrote: On Wed, Nov 14, 2012 at 8:52 PM, Elliott Sprehn espr...@chromium.org wrote: I was present for one of the discussions about the exploit and how an arena

Re: [webkit-dev] RenderArena: Teaching an old dog new tricks

2012-11-14 Thread Maciej Stachowiak
On Nov 14, 2012, at 9:59 PM, Adam Barth aba...@webkit.org wrote: On Nov 14, 2012 8:59 PM, Ryosuke Niwa rn...@webkit.org wrote: On Wed, Nov 14, 2012 at 8:52 PM, Elliott Sprehn espr...@chromium.org wrote: I was present for one of the discussions about the exploit and how an arena

Re: [webkit-dev] RenderArena: Teaching an old dog new tricks

2012-11-14 Thread Cris Neckar
On Wed, Nov 14, 2012 at 10:05 PM, Ryosuke Niwa rn...@webkit.org wrote: On Wed, Nov 14, 2012 at 9:59 PM, Adam Barth aba...@webkit.org wrote: On Nov 14, 2012 8:59 PM, Ryosuke Niwa rn...@webkit.org wrote: On Wed, Nov 14, 2012 at 8:52 PM, Elliott Sprehn espr...@chromium.org wrote: I was

Re: [webkit-dev] RenderArena: Teaching an old dog new tricks

2012-11-14 Thread Maciej Stachowiak
On Nov 14, 2012, at 10:05 PM, Ryosuke Niwa rn...@webkit.org wrote: On Wed, Nov 14, 2012 at 9:59 PM, Adam Barth aba...@webkit.org wrote: On Nov 14, 2012 8:59 PM, Ryosuke Niwa rn...@webkit.org wrote: On Wed, Nov 14, 2012 at 8:52 PM, Elliott Sprehn espr...@chromium.org wrote: I was

Re: [webkit-dev] RenderArena: Teaching an old dog new tricks

2012-11-14 Thread Elliott Sprehn
On Thu, Nov 15, 2012 at 1:29 AM, Ryosuke Niwa rn...@webkit.org wrote: ... In other words, why are you interested in using the proposed allocation mechanism for only DOM nodes/objects instead of everything in WebCore/WebKit? This was my concern as well. It would seem you'd need many

Re: [webkit-dev] RenderArena: Teaching an old dog new tricks

2012-11-14 Thread Chris Evans
On Wed, Nov 14, 2012 at 8:59 PM, Ryosuke Niwa rn...@webkit.org wrote: On Wed, Nov 14, 2012 at 8:52 PM, Elliott Sprehn espr...@chromium.orgwrote: I was present for one of the discussions about the exploit and how an arena like allocator could have helped at Google. One proposed solution was

Re: [webkit-dev] RenderArena: Teaching an old dog new tricks

2012-11-14 Thread Maciej Stachowiak
On Nov 14, 2012, at 10:36 PM, Elliott Sprehn espr...@chromium.org wrote: On Thu, Nov 15, 2012 at 1:29 AM, Ryosuke Niwa rn...@webkit.org wrote: ... In other words, why are you interested in using the proposed allocation mechanism for only DOM nodes/objects instead of everything in

Re: [webkit-dev] RenderArena: Teaching an old dog new tricks

2012-11-14 Thread Maciej Stachowiak
On Nov 14, 2012, at 11:09 PM, Chris Evans cev...@chromium.org wrote: On Wed, Nov 14, 2012 at 8:59 PM, Ryosuke Niwa rn...@webkit.org wrote: On Wed, Nov 14, 2012 at 8:52 PM, Elliott Sprehn espr...@chromium.org wrote: I was present for one of the discussions about the exploit and how an arena

Re: [webkit-dev] RenderArena: Teaching an old dog new tricks

2012-11-14 Thread Chris Evans
On Wed, Nov 14, 2012 at 10:29 PM, Ryosuke Niwa rn...@webkit.org wrote: On Wed, Nov 14, 2012 at 10:14 PM, Cris Neckar c...@chromium.org wrote: On Wed, Nov 14, 2012 at 10:05 PM, Ryosuke Niwa rn...@webkit.org wrote: On Wed, Nov 14, 2012 at 9:59 PM, Adam Barth aba...@webkit.org wrote: On Nov