Skip to content
Snippets Groups Projects
  1. Jun 06, 2017
  2. Jun 02, 2017
    • Nicholas Nethercote's avatar
      Bug 1369612 - Remove ProfilerStackFrameDynamicRAII and profiler_call_{enter,exit}. r=mstange. · ede22c75
      Nicholas Nethercote authored
      ProfilerStackFrameRAII and ProfilerStackFrameDynamicRAII are very similar; the
      latter lets a dynamic string be specified as well (and lacks the
      MOZ_GUARD_OBJECT stuff, for no good reason).
      
      This patch does the following.
      
      - Removes ProfilerStackFrameDynamicRAII, and adds a dynamic string to
        ProfilerStackFrameRAII. It also reorders the constructor's arguments to match
        the field ordering of ProfileEntry. There aren't many usage sites so these
        changes don't affect many places.
      
      - With that done, there is only a single callsite for each of
        profiler_call_enter() and profiler_call_exit(), so the patch also inlines and
        removes them.
      ede22c75
    • Nicholas Nethercote's avatar
      Bug 1369644 - Remove use of |volatile| from ProfileEntry. r=mstange,shu,jseward,froydnj. · 1b418b1c
      Nicholas Nethercote authored
      These annotations aren't doing anything useful. The important thing with
      the PseudoStack is that, during pushes, the stack pointer incrementing happens
      after the new entry is written, and this is ensured by the stack pointer being
      Atomic.
      
      The patch also improves the comments on PseudoStack.
      
      --HG--
      extra : rebase_source : 100f8a5e4b750c15fac66175550c4c284a141f16
      1b418b1c
  3. Jun 06, 2017
  4. Jun 05, 2017
  5. Jun 04, 2017
  6. Jun 05, 2017
  7. Jun 02, 2017
  8. Jun 03, 2017
  9. May 31, 2017
  10. Jun 05, 2017
  11. Jun 03, 2017
  12. Jun 05, 2017
  13. Jun 03, 2017
  14. May 25, 2017
  15. Jun 05, 2017
Loading