Commit Graph
47 Commits
Author SHA1 Message Date
Benjamin Bouvier 4406070cf7 Bug 1403873: Rename JitProfilingFrameIterator to JSJitProfilingFrameIterator; r=luke
(and associated methods in ProfilingFrameIterator: jitIter=>jsJitIter, isJit=>isJSJit)

MozReview-Commit-ID: CaYxMlOsg7W
2017-10-03 20:25:21 +02:00
Benjamin Bouvier f9945a6bed Bug 1360211: Merge WasmActivation into JitActivation and make wasm->jit calls faster; r=luke, r=jandem
This is a folded patch containing the patches in the bug named as:

- Handle the "untrusted FP" in wasm->jit exit;
- Handle failures in wasm->jit fast path;
- Profiling frame iteration;

MozReview-Commit-ID: 2hs8yyKGQ9v
2017-09-27 21:16:29 +02:00
Benjamin Bouvier fdc30d5fb5 Bug 1364520: Remove the jitTop optimization; r=jandem
MozReview-Commit-ID: 1ifOuh90QEK
2017-06-02 19:34:05 +02:00
Luke Wagner 68c8aeccd8 Bug 1334504 - Baldr: maintain fp register instead a virtual fp (r=bbouvier)
MozReview-Commit-ID: 2Mi60u3DyJg
2017-03-22 17:26:05 -05:00
Boris Zbarsky e3d6f3c0a4 Bug 1346389. Make --enable-shared-js link again, at least for an opt mac build with intl api disabled. r=sfink, a=waldo on the gcc-specific bits. 2017-03-10 23:52:55 -05:00
Boris Zbarsky 6c7787df36 Backed out changeset c1978f7d49c4 for build failures.
MozReview-Commit-ID: FOwcGtykkXR
2017-03-11 00:10:36 -05:00
Boris Zbarsky 09244ad037 Bug 1346389. Make --enable-shared-js link again, at least for an opt mac build with intl api disabled. r=sfink
MozReview-Commit-ID: 264vsCvhh9Z
2017-03-10 23:52:55 -05:00
Jeff Walden db144ae65e Bug 1338374 - Use alignas rather than AlignedStorage for public JS::ProfilingFrameIterator's internal storage of a private wasm or JIT profiling frame iterator. r=shu 2017-01-30 15:56:05 -08:00
Brian Hackett 2602ae2e41 Bug 1334927 - Handle multiple contexts per runtime in the Gecko profiler, r=shu. 2017-02-08 11:18:41 -07:00
Jon Coppeard b3ed85303b Bug 1322312 - Assert that GCRuntime::enter/leaveUnsafe region is only used on the main thread r=sfink 2016-12-06 17:23:48 -10:00
Jon Coppeard e181ccf2bc Bug 1316150 - Make profiler frame labels a GC hazard and make shell profiling function copy them r=djvj 2016-11-21 10:26:33 +00:00
Jon Coppeard f3ef741a1e Backout changeset 093a7b8b7285 (bug 1297360) for causing bug 1316150 2016-11-21 10:26:31 +00:00
Benjamin Bouvier 2b66f9d462 Bug 1304672: Renamings outside asmjs/ and jit/; r=luke
MozReview-Commit-ID: 1LGFJMlHaz2
2016-11-02 18:22:37 +01:00
Jon Coppeard bb7aa46830 Bug 1301377 - Disallow GC while using ProfilingFrameIterator r=jandem 2016-10-14 17:13:47 +01:00
Jon Coppeard 99fbf8b9ab Bug 1297360 - Copy strings returned by ProfilingFrameIterator API r=djvj 2016-09-08 13:38:37 +01:00
Jan de Mooij bd0f1c9018 Bug 1292892 part 1 - Stop using JSRuntime outside SpiderMonkey. r=bz,terrence,fitzgen,kanru 2016-08-11 14:39:22 +02:00
Luke Wagner 1dc858b5ae Bug 1229642 - Split wasm::Module out of AsmJSModule (r=bbouvier) 2015-12-28 17:39:21 -06:00
Luke Wagner 136fc2b00f Bug 1229642 - Odin: hoist some things into Wasm.h and simplify symbolic addresses (r=bbouvier) 2015-12-02 21:40:09 -06:00
Birunthan Mohanathas a29151dc87 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Benoit Girard f08c935552 Bug 1172186 - Make the profiler build standalone. r=mstange 2015-06-18 01:05:42 -04:00
Shu-yu Guo ab1057e42c Bug 1154115 - Rewrite profiler JSON streaming. (r=mstange) 2015-05-11 14:16:44 -07:00
Shu-yu Guo d600d2f912 Bug 1154115 - Rewrite the JSAPI profiling API to use a FrameHandle, as to avoid multiple lookups in JitcodeGlobalTable. (r=djvj) 2015-05-11 14:16:44 -07:00
Andrea Marchesini aeab677506 Bug 1156632 - Remove unused forward class declarations - patch 7 - JS, r=sfink 2015-04-22 08:29:26 +02:00
Shu-yu Guo e6de31afb0 Bug 1137569 - Delay stringification of JIT frames until streaming time. (r=djvj) 2015-04-02 14:50:08 -07:00
Jan de Mooij c6596c5fa8 Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff 2015-03-28 23:22:11 +01:00
Phil Ringnalda 1a1c158706 Backed out changeset 0c030f97a04f (bug 1144366) for being on top of patches being backed out
CLOSED TREE
2015-03-28 10:39:56 -07:00
Jan de Mooij 369ef1b850 Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff 2015-03-28 12:08:37 +01:00
Shu-yu Guo 5660538949 Bug 1146718 - Split the 'J' tag in the profiler into 'J' (JIT frames without opt info) and 'O' (with opt info). (r=djvj) 2015-03-24 18:49:16 -07:00
Shu-yu Guo ec5bd4dc2d Bug 1143860 - Deduplicate tracked optimizations when streaming the profile. (r=djvj) 2015-03-20 20:48:31 -07:00
Kannan Vijayan 304daa2cde Bug 1143802 - Forward jit level information to profiler frontend. r=shu 2015-03-20 13:50:23 -04:00
Kannan Vijayan 793493fc42 Bug 1130367 - Ensure profiler stack sampling is disabled when spsProfiler is disabled. r=shu 2015-03-02 17:46:13 -05:00
Kannan Vijayan c6fde375fb Bug 1129510 - Trace references to JS heap from Profiler buffers. r=shu 2015-02-25 16:43:39 -05:00
Ryan VanderMeulen e91fb0ae09 Backed out changesets 3de23a29bf71 and d42c64b791e6 (bug 1129510) for debug SM(e) timeouts. 2015-02-25 13:44:19 -05:00
Kannan Vijayan 0903355916 Bug 1129510 - Trace references to JS heap from Profiler buffers. r=shu 2015-02-25 11:26:28 -05:00
Ryan VanderMeulen ae793709fa Backed out changesets fbfda0143584 and e8cfd49ac790 (bug 1129510) for crashes.
CLOSED TREE
2015-02-20 20:01:08 -05:00
Kannan Vijayan ebcf787aea Bug 1129510 - Trace references to JS heap from Profiler buffers. r=shu 2015-02-20 17:50:02 -05:00
Shu-yu Guo 894d1b5443 Bug 1129781 - Re-lookup JIT code return addr when stringifying optimization info instead of caching the index. (r=djvj)
This saves us some circular buffer space.
2015-02-09 18:11:19 -08:00
Shu-yu Guo 6ed31357f4 Bug 1127156 - Rework optimization tracking JSAPI to be more usable from the profiler. (r=djvj) 2015-02-04 13:40:02 -08:00
Kannan Vijayan 29b4a7edb7 Bug 1057082 - 6/7 - Modify profiler sampler to use jit stack walking instead of pseudostack. r=jandem r=BenWa 2015-01-15 20:11:22 -05:00
Wes Kocher fcf236fa16 Backed out 8 changesets (bug 1057082) for ASAN failures on a CLOSED TREE
Backed out changeset 0c1fabbfc583 (bug 1057082)
Backed out changeset 99213cacd671 (bug 1057082)
Backed out changeset 76d528767946 (bug 1057082)
Backed out changeset b1ad3dabec8f (bug 1057082)
Backed out changeset f927b9899077 (bug 1057082)
Backed out changeset 635e101ed2be (bug 1057082)
Backed out changeset a7d9f158838d (bug 1057082)
Backed out changeset b1cb68eadf6c (bug 1057082)
2015-01-14 15:26:50 -08:00
Kannan Vijayan 8bd41607a8 Bug 1057082 - 6/7 - Modify profiler sampler to use jit stack walking instead of pseudostack. r=jandem r=BenWa 2015-01-14 16:19:14 -05:00
Nicolas B. Pierron cb753ff627 Bug 1074911 - Replace JS_ASSERT by MOZ_ASSERT. r=jorendorff
Apply the following script

sed -i '
   /JS_ASSERT(/ {
     s/JS_ASSERT(/MOZ_ASSERT(/;
     :b;
     s/ \\$/\\/;
     /;/ { p; d; };
     n;
     s/^/ /;
     b b;
  };
  s/JS_ASSERT (/MOZ_ASSERT(/;
'

Except where the JS_ASSERT macro does not end with a semi-colon, where empty
lines are in the middle of the macro, and where the backslahes are always the
same-length after the expression.
2014-10-01 19:17:51 +02:00
Kannan Vijayan b37f9b1e50 Bug 1057082 - Part 1 - Add profilingActivation linked list and refactor ProfilingFrameIterator. r=luke 2014-08-26 14:03:04 -04:00
Luke Wagner 8027287f09 Bug 1040390 - Replace ad hoc methods with JS::ProfilingFrameIterator::label() (r=dougc) 2014-07-29 09:56:21 -05:00
Luke Wagner a56a9632f4 Bug 1040390 - Add JS::ProfilingFrameIterator::stackAddress (r=dougc) 2014-07-29 09:56:21 -05:00
Luke Wagner 76c9828092 Bug 1027885 - OdinMonkey: properly represent calls to builtin functions in the profiling stack (r=dougc) 2014-07-21 11:05:44 -05:00
Luke Wagner 6c1e6ff2d2 Bug 1027885 - OdinMonkey: maintain AsmJSActivation::fp in all frames in profiling mode (r=dougc) 2014-07-21 10:58:12 -05:00