Commit Graph

36106 Commits

Author SHA1 Message Date
John McCutchan 33aaf940e5 Output TimelineEventBlocks in sorted order
- Before outputting to JSON sort TimelineEventBlocks by earliest event time.
- Output using sorted block order.
- Works around a bug in mojo (https://github.com/domokit/mojo/issues/649)

R=zra@google.com

Review URL: https://codereview.chromium.org/1657843003 .
2016-02-01 13:12:34 -08:00
Paul Berry b3e588e640 Check proper resynthesis of type parameters of generic methods.
R=scheglov@google.com

Review URL: https://codereview.chromium.org/1656033002 .
2016-02-01 13:10:48 -08:00
Konstantin Shcheglov eff97b738e Resynthesize static method references.
R=paulberry@google.com
BUG=

Review URL: https://codereview.chromium.org/1658723005 .
2016-02-01 12:58:01 -08:00
Siva Annamalai cab435bd03 Fix gen snapshot code to use Dart_LoadLibrary instead of Dart_LoadScript so that the root library value is not set when creating the bootstrap snapshot. The root library gets set when the application is loaded in later.
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/1653143002 .
2016-02-01 12:57:04 -08:00
Paul Berry bfa85298e2 Document that LinkedExportName.name includes trailing '=' for setters.
R=scheglov@google.com

Review URL: https://codereview.chromium.org/1658773004 .
2016-02-01 12:49:29 -08:00
Konstantin Shcheglov 402ff37f16 Don't use 'info.type', always set 'element'.
R=paulberry@google.com
BUG=

Review URL: https://codereview.chromium.org/1654983002 .
2016-02-01 12:41:31 -08:00
Konstantin Shcheglov a568af080e Resynthesize top-level and class static property access references.
Class static methods have some complications related to propagated
types, so I will do it after this CL.

R=paulberry@google.com
BUG=

Review URL: https://codereview.chromium.org/1652183002 .
2016-02-01 11:43:17 -08:00
Brian Wilkerson 3ef79232ad Add indication of resolver provider to the status page
R=jwren@google.com

Review URL: https://codereview.chromium.org/1653093002 .
2016-02-01 11:36:07 -08:00
Siva Annamalai 2a2c34abd7 Fix windows build compilation error.
Review URL: https://codereview.chromium.org/1659553002 .
2016-02-01 11:22:03 -08:00
Siva Annamalai e72c1fb47d Implement safepointing of threads :
- uses thread execution status transition to track when a thread is in a safepoint or needs to block for a safepoint
 - introduces a monitor per Thread object
 - uses a per thread safepoint handshake between the thread requesting a safepoint and the requested thread.

The ThreadRegistry class now contains only the thread list for an isolate and the functionality of scheduling a thread onto an Isolate and unscheduling it from teh isolate. We could fold this functionality into the Isolate class in a different CL.

R=rmacnak@google.com, zra@google.com

Review URL: https://codereview.chromium.org/1541073002 .
2016-02-01 10:57:34 -08:00
Todd Turnidge 2232a52ff8 Print stack trace when Dart_SetReturnValue is passed UnwindError.
BUG=
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/1652873004 .
2016-02-01 10:46:49 -08:00
Konstantin Shcheglov 86106d7a6d Issue 25623. When adding the 'async' modifier, change the return type.
R=brianwilkerson@google.com
BUG= https://github.com/dart-lang/sdk/issues/25623

Review URL: https://codereview.chromium.org/1652963003 .
2016-02-01 10:35:47 -08:00
William Hesse b48188fb3f Update co19 dart2js status for Chrome 48.
BUG=

Review URL: https://codereview.chromium.org/1659523002 .
2016-02-01 19:23:04 +01:00
Konstantin Shcheglov a4711db5f4 Resynthesize type references.
R=paulberry@google.com
BUG=

Review URL: https://codereview.chromium.org/1650833002 .
2016-02-01 09:18:00 -08:00
Paul Berry fadca3983a Change sdk/bin/dart2js to find an available build.
This parallels the change to sdk/bin/dart made by commit
ac8a228d0b.

R=floitsch@google.com

Review URL: https://codereview.chromium.org/1650383002 .
2016-02-01 08:53:13 -08:00
Konstantin Shcheglov bb73ff38bc Fix build: _addFix_addAsync_asyncFor() does not return.
TBR

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org/1656693003 .
2016-02-01 08:49:25 -08:00
Keerti Parthasarathy 0e681885a9 on gcs, move docs for be to builds dir, and dev & stable to dev/stable
BUG=
R=whesse@google.com

Review URL: https://codereview.chromium.org/1647293002 .
2016-02-01 08:25:29 -08:00
Paul Berry 4896fea5f5 Add shared tests demonstrating bugs #25624, #25625, and #25626.
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org/1653833002 .
2016-02-01 08:14:00 -08:00
Brian Wilkerson 5b95009a6b Move ResolverProvider to analyzer so that it can be shared
R=scheglov@google.com

Review URL: https://codereview.chromium.org/1658663002 .
2016-02-01 08:12:29 -08:00
Konstantin Shcheglov 3f7a21bc0e Issue 25622. Quick fix for 'async-for'.
R=brianwilkerson@google.com
BUG= https://github.com/dart-lang/sdk/issues/25622

Review URL: https://codereview.chromium.org/1650853002 .
2016-02-01 08:03:55 -08:00
William Hesse 2631227d29 Dummy commit, to run a new build on all buildbot bots.
BUG=
R=mit@google.com

Review URL: https://codereview.chromium.org/1652053002 .
2016-02-01 16:04:48 +01:00
Asger Feldthaus 27bb7d6153 dart2js cps: Update status file.
BUG=

Review URL: https://codereview.chromium.org/1652923002 .
2016-02-01 13:28:27 +01:00
Søren Gjesse ca7ee2b6cd Fix EOF detection when reading an entire file
Closes #25596

BUG= https://github.com/dart-lang/sdk/issues/25596
R=kustermann@google.com

Review URL: https://codereview.chromium.org/1651023003 .
2016-02-01 10:08:57 +01:00
Kevin Moore a49249b18f CHANGELOG: add date to 1.14 release
Review URL: https://codereview.chromium.org/1654673002 .
2016-01-31 14:38:17 -08:00
Paul Berry 87c6790bb9 Add tests demonstrating bug #25605.
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org/1650783002 .
2016-01-31 05:43:02 -08:00
Siva Annamalai eece23fe67 Use InterlockedExchangeAdd varient instead of InterlockedAdd which doesn't seem to be available on some windows platforms.
R=rmacnak@google.com

Review URL: https://codereview.chromium.org/1644393003 .
2016-01-29 17:09:03 -08:00
Todd Turnidge dacb44079a If testeeBefore returns a future, wait for it.
This fixes some flakiness in a bunch of service tests that assumed this
would work.

BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org/1656483002 .
2016-01-29 16:41:16 -08:00
Todd Turnidge 250773cb65 Improve the error message when an import fails.
BUG=
R=iposva@google.com

Review URL: https://codereview.chromium.org/1641383003 .
2016-01-29 16:30:08 -08:00
Kevin Moore 17c3da093c Fixed link in README 2016-01-29 16:15:13 -08:00
Ivan Posva fe03117706 The uptime of the vm-linux-release-ia32-be buildbot has reached the
JS integer overflow limit when read in microseconds. These tests will
fail because initializing the Stopwatch object now throws the
JavascriptIntegerOveflowError during load.

- Disable these tests.

BUG=

Review URL: https://codereview.chromium.org/1646413005 .
2016-01-29 16:00:29 -08:00
Siva Annamalai 38fc488d8a Fix dartium build break.
Review URL: https://codereview.chromium.org/1653613002 .
2016-01-29 15:48:20 -08:00
Regis Crelier daf672405c Relax assert when applying a mixin application alias (fixes #25617).
Update status file.

R=hausner@google.com

Review URL: https://codereview.chromium.org/1653593002 .
2016-01-29 15:17:35 -08:00
Konstantin Shcheglov eb4a056948 Verify AST instead of constant values.
R=paulberry@google.com
BUG=

Review URL: https://codereview.chromium.org/1651653002 .
2016-01-29 14:55:56 -08:00
Siva Annamalai 02568023f8 Fix typo in tranferring from regular add to Atomic increment.
Review URL: https://codereview.chromium.org/1644223004 .
2016-01-29 14:22:22 -08:00
Paul Berry 8da962e6a3 Test and fix a few more corner cases of summarizing type inference.
R=scheglov@google.com

Review URL: https://codereview.chromium.org/1643403002 .
2016-01-29 13:47:01 -08:00
Brian Wilkerson 3fa4b0fadb Add hook to command-line analyzer similar to server
R=pquitslund@google.com

Review URL: https://codereview.chromium.org/1646413003 .
2016-01-29 13:31:25 -08:00
Siva Annamalai 74f5dc2d7a Fix build break.
Review URL: https://codereview.chromium.org/1644223003 .
2016-01-29 13:31:12 -08:00
Paul Berry 9e7b8daf83 Add the ability to summarize inferred types based on function-typed parameters.
There may still be bugs related to generic types.  I will follow up
with more tests (and fixes if necessary) in further CLs.

R=scheglov@google.com

Review URL: https://codereview.chromium.org/1647253002 .
2016-01-29 13:12:15 -08:00
Todd Turnidge 1911f508dd "Pass Slow" -> "Pass, Slow". Add a debugging print.
BUG=
R=iposva@google.com

Review URL: https://codereview.chromium.org/1649123002 .
2016-01-29 12:54:44 -08:00
Florian Loitsch 2232803eae Don't use "var" to introduce the deferred_initializer.
R=het@google.com

Review URL: https://codereview.chromium.org/1653453002 .
2016-01-29 21:52:52 +01:00
Siva Annamalai 7e05c6c1f0 Use atomic operations to increment/decrement memory usage counts as multiple threads could be allocating at the same time.
Review URL: https://codereview.chromium.org/1580813003 .
2016-01-29 12:46:22 -08:00
Adam Barth 94570789c9 Fix gn build
This function name had a typo.

R=zra@google.com, zra

Review URL: https://codereview.chromium.org/1654443002 .
2016-01-29 12:27:00 -08:00
Todd Turnidge 0f1d73fd07 Add --warn-on-pause-with-no-debugger flag. Add this to --observe behavior.
BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org/1649843002 .
2016-01-29 12:19:33 -08:00
Ivan Posva 744b81efcd - Try to get more information for buildbot only failures.
BUG=

Review URL: https://codereview.chromium.org/1648123003 .
2016-01-29 12:05:41 -08:00
Paul Berry 62fad4641c Update status file to reflect bug #25617.
TBR=brianwilkerson@google.com

Review URL: https://codereview.chromium.org/1653433002 .
2016-01-29 11:30:01 -08:00
Todd Eisenberger ca85ec7955 Stop initializing code pages with RWX permissions
We shouldn't need to execute the code pages until after we're done
writing to them, so we can drop the initial execute bit.  Without
this, part of a mapping can sit in a freelist with RWX permissions
indefinitely, which makes for an easier target under certain
exploits.

BUG=
R=asiva@google.com

Review URL: https://codereview.chromium.org/1635343002 .
2016-01-29 11:21:06 -08:00
John McCutchan ce650790a1 Return an error in many service RPCs if the isolate is not runnable
- Return kIsolateMustBeRunnable error when an isolate must be runnable for a service RPC to complete.

R=turnidge@google.com

Review URL: https://codereview.chromium.org/1645423002 .
2016-01-29 11:16:23 -08:00
Todd Turnidge bf385e448c Document the getSourceReport rpc in service.md. Bump version to 3.1.
BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org/1641133004 .
2016-01-29 10:40:18 -08:00
Bob Nystrom 434f5bc922 Implement the spec's notion of LUB for function types.
Fixes #23381.

R=brianwilkerson@google.com, jmesserly@google.com

Review URL: https://codereview.chromium.org/1648063002 .
2016-01-29 10:37:58 -08:00
Siva Annamalai b0e8c4bb05 Do not set root library to null while creating the snapshot, just use whatever is there, it is set to null when creating the full snapshot, when we start doing full application snapshots this might not be null.
R=rmacnak@google.com

Review URL: https://codereview.chromium.org/1648633003 .
2016-01-29 10:35:22 -08:00