dart-sdk/runtime
Tess Strickland 0304832202 [vm] Check hash-based caches in the DRT_InstanceOf runtime entry.
We added a hash-based cache check in DRT_TypeCheck until the
SubtypeNTestCache stubs handle hash-based caches to avoid doing
the full runtime check when unnecessary, but did not do so for
DRT_InstanceOf. This fixes that until an upcoming CL that adds
support for hash-based caches in the SubtypeNTestCacheStubs lands.

TEST=Manual inspection of profiles before and after change. Not
adding an automated test as this change is a temporary bandaid
similar to the tested path in DRT_TypeCheck that will be removed soon.

Change-Id: I905a0fc6f501c68d66ae1ee848631c40cad04af2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/310882
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Tess Strickland <sstrickl@google.com>
2023-06-22 12:21:58 +00:00
..
bin [vm/win] Use wide-character api for local hostname on Windows. 2023-06-21 16:57:49 +00:00
docs [vm] Add @pragma('vm:keep-name') annotation 2023-06-16 10:22:23 +00:00
include [fuchsia] Plumbing for the VMEX resource. 2023-06-20 19:28:18 +00:00
lib [sdk] Add NativeRuntime.buildId to dart:developer. 2023-06-22 11:11:11 +00:00
observatory [VM/Service] Add isolateGroup property to Event 2023-06-09 17:57:12 +00:00
observatory_2 [VM/Service] Add isolateGroup property to Event 2023-06-09 17:57:12 +00:00
platform Revert "[vm] Mark Zone memory as unallocated/allocated/uninitialized for Address and Memory Sanitizer." 2023-06-16 11:22:38 +00:00
tests [sdk] Add NativeRuntime.buildId to dart:developer. 2023-06-22 11:11:11 +00:00
third_party Spelling pkg analyzer lib 2023-01-25 14:08:27 +00:00
tools [cfe] Check @patch annotations 2023-06-13 07:27:08 +00:00
vm [vm] Check hash-based caches in the DRT_InstanceOf runtime entry. 2023-06-22 12:21:58 +00:00
.clang-tidy
.gitignore
BUILD.gn [VM/Timeline] Lock accesses to the async track metadata map where needed 2023-05-01 14:52:30 +00:00
codereview.settings
configs.gni [Runtime] Add extra_product_deps and extra_nonproduct_deps params to "library_for_all_configs_with_compiler" template 2023-04-14 19:51:40 +00:00
CPPLINT.cfg [cpplint] Disable runtime/references lint 2023-01-23 18:21:48 +00:00
OWNERS [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
PRESUBMIT.py Reland "Reland "[VM] Begin supporting Perfetto file recorder"" 2023-04-18 19:39:05 +00:00
runtime_args.gni [build] Decide in one place between using app-jit and kernel for the SDK snapshots. 2023-06-01 15:20:58 +00:00