Closed Bug 1367654 Opened 7 years ago Closed 7 years ago

Clean up ProfileEntry

Categories

(Core :: Gecko Profiler, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: n.nethercote, Assigned: n.nethercote)

Details

Attachments

(3 files)

      No description provided.
This patch:

- renames flags_ as flagsAndCategory_ because it contains both the flags and
  the category;

- uses << for some bitfield definitions, because it's easier to read;

- removes some dead methods from ProfileEntry;

- removes the unnecessary JS_FRIEND_API from setPC().
Attachment #8871180 - Flags: review?(shu)
Assignee: nobody → n.nethercote
Status: NEW → ASSIGNED
Because everything else in this file is called ProfilerFoo or PROFILER_FOO.
Attachment #8871181 - Flags: review?(mstange)
BEGIN_PSEUDO_JS frames are necessary before a sequence of JS frames, in order
to provide a stack address. But in AutoGeckoProfilerEntry the BEGIN_PSEUDO_JS
frame is before a C++ frame, so it's useless.
Attachment #8871182 - Flags: review?(shu)
Attachment #8871180 - Flags: review?(shu) → review+
Attachment #8871182 - Flags: review?(shu) → review+
Attachment #8871181 - Flags: review?(mstange) → review+
https://hg.mozilla.org/mozilla-central/rev/7b82e5e570d6
https://hg.mozilla.org/mozilla-central/rev/343d001b8dfe
https://hg.mozilla.org/mozilla-central/rev/735a87a03948
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: