| Summary: | GCTimer should work correctly when invoked multiple times during the same collection | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Mark Hahnenberg <mhahnenb> | ||||||||||
| Component: | JavaScriptCore | Assignee: | Mark Hahnenberg <mhahnenb> | ||||||||||
| Status: | NEW --- | ||||||||||||
| Severity: | Normal | CC: | fpizlo, ggaren, kling, mark.lam | ||||||||||
| Priority: | P2 | ||||||||||||
| Version: | 528+ (Nightly build) | ||||||||||||
| Hardware: | Unspecified | ||||||||||||
| OS: | Unspecified | ||||||||||||
| Bug Depends on: | |||||||||||||
| Bug Blocks: | 140774 | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Mark Hahnenberg
2015-03-21 17:24:28 PDT
Created attachment 249181 [details]
Patch
Created attachment 249207 [details]
Patch
Comment on attachment 249207 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=249207&action=review r=me > Source/JavaScriptCore/heap/Heap.cpp:83 > +struct TimeRecord { Can you make this a real class in its own file? I think we're supposed to use m_ naming for fields. (In reply to comment #3) > Comment on attachment 249207 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=249207&action=review > > r=me > > > Source/JavaScriptCore/heap/Heap.cpp:83 > > +struct TimeRecord { > > Can you make this a real class in its own file? Sure, will do. > > I think we're supposed to use m_ naming for fields. Darin requested no "m_" for struct members on a previous patch dealing with GCTimer. Who do I believe!? :-) I don't know what the common style is for structs, but if you make it a class, I know what the style is :). Created attachment 249674 [details]
Patch
Split GCTimer and friends out into separate files and moved them over to normal classes w/ accessors. Created attachment 249675 [details]
Patch
Comment on attachment 249675 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=249675&action=review r=me > Source/JavaScriptCore/JavaScriptCore.vcxproj/JavaScriptCore.vcxproj:1806 > -</Project> > \ No newline at end of file > +</Project> Can you fix this? Seems like an unintended change. > Source/JavaScriptCore/JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters:4433 > -</Project> > \ No newline at end of file > +</Project> Another seemingly unintentional change. |