Skip to content

Commit

Permalink
Merge r241661 - Unreviewed, skip the test on platforms without sampli…
Browse files Browse the repository at this point in the history
…ng profiler

* stress/sampling-profiler-stack-trace-with-double-quote-in-function-name.js:
(platformSupportsSamplingProfiler.foo):
(platformSupportsSamplingProfiler.test):
(platformSupportsSamplingProfiler):
(foo): Deleted.
(test): Deleted.
  • Loading branch information
tpopela authored and carlosgcampos committed Feb 20, 2019
1 parent a72b2e8 commit ab3e9d8
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 16 deletions.
11 changes: 11 additions & 0 deletions JSTests/ChangeLog
@@ -1,3 +1,14 @@
2019-02-18 Tomas Popela <tpopela@redhat.com>

Unreviewed, skip the test on platforms without sampling profiler

* stress/sampling-profiler-stack-trace-with-double-quote-in-function-name.js:
(platformSupportsSamplingProfiler.foo):
(platformSupportsSamplingProfiler.test):
(platformSupportsSamplingProfiler):
(foo): Deleted.
(test): Deleted.

2019-02-17 Saam Barati <sbarati@apple.com>

Deadlock when adding a Structure property transition and then doing incremental marking
Expand Down
@@ -1,20 +1,21 @@
//@ runDefault("--useConcurrentJIT=false")
if (platformSupportsSamplingProfiler()) {
function foo() {
let obj = {};
for (let i = 0; i < 10; ++i)
obj[i + 'p'] = i;
}
noInline(foo);

function foo() {
let obj = {};
for (let i = 0; i < 10; ++i)
obj[i + 'p'] = i;
}
noInline(foo);

function test() {
for (let i = 0; i < 1000; ++i) {
foo();
let stacktraces = samplingProfilerStackTraces();
for (let stackTrace of stacktraces) { }
function test() {
for (let i = 0; i < 1000; ++i) {
foo();
let stacktraces = samplingProfilerStackTraces();
for (let stackTrace of stacktraces) { }
}
}
}

startSamplingProfiler();
foo.displayName = '"';
test();
startSamplingProfiler();
foo.displayName = '"';
test();
}

0 comments on commit ab3e9d8

Please sign in to comment.