[Webkit-unassigned] [Bug 68329] DFG should support continuous optimization
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 20 22:25:52 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=68329
--- Comment #18 from Filip Pizlo <fpizlo at apple.com> 2011-09-20 22:25:52 PST ---
(In reply to comment #17)
> (From update of attachment 108106 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=108106&action=review
>
> Alas i won't finish reviewing this tonight -- i'm a little tired to follow the logic for keeping the jettisoned code blocks live for the right amount of time :-(
>
> It may be worth making code block refcounted though if you think that would simplify things
>
> > Source/JavaScriptCore/heap/JettisonedCodeBlocks.h:73
> > + // It would be great to use an OwnPtr<CodeBlock> here but that would
> > + // almost certainly not work.
> > + HashMap<CodeBlock*, bool> m_map;
>
> Why can't we make CodeBlock RefCounted? Then just use RefPtr<CodeBlock> -- a single word for the ref count vs. the hulking mass of code block doesn't seem too expensive
There is a benefit to the way it works now: I know when a CodeBlock gets destroyed by looking at the code.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list