Files
sdk/runtime/bin
Jens Johansen 9f0872847d [VM] Linux with symbolic link to dart: still find kernel-service snapshot
Prior to this change, on Linux, if one created a symbolic link to the
dart executable and ran that, the kernel-service snapshot would not be
found. This has the effect of compiling the input script on a
non-trained kernel service, meaning the startup is slower.

This is particularly bad as the debian install of dart creates a symbolic
link to dart as /usr/bin/dart with the target being /usr/lib/dart/bin/dart
meaning that for instance running a hello-world script like one normally
would, `dart hello.dart` would take something along the lines of 3-4 times
longer than if running `/usr/lib/dart/bin/dart hello.dart`.
On my Pixelbook (in crostini) this is ~755 ms vs ~210 ms.

This change does *NOT* fix it on other platforms.

Change-Id: I6c9105d49205f3e4b9ea64e8ddb95a1d36ae21a5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/117144
Commit-Queue: Jens Johansen <jensj@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2019-09-17 07:25:38 +00:00
..
2016-11-04 12:30:56 -07:00
2019-05-21 17:01:48 +00:00
2018-01-18 16:38:54 +00:00
2018-05-03 17:59:44 +00:00
2017-03-15 13:11:05 -07:00
2016-11-04 12:30:56 -07:00
2016-11-04 12:30:56 -07:00
2017-03-20 08:47:39 -07:00
2017-08-24 11:17:52 -07:00
2017-08-24 11:17:52 -07:00
2019-05-21 17:01:48 +00:00
2017-10-09 19:31:40 +00:00