dart-sdk/runtime
Ryan Macnak 802dfdfd62 [vm, compiler] Restore the performance of LoadUniqueObject.
The purpose of LoadUniqueObject (77c206f231) is to avoid the cost searching for matching object pool entries. Pass kPatchable to AddObject to skip the work of inserting / rehashing. This also fixes incorrect use of DirectChainedHashMap::Insert with an already-present key.

TEST=ci
Bug: https://github.com/dart-lang/sdk/issues/23249
Bug: https://github.com/dart-lang/sdk/issues/38018
Change-Id: I30cc3212720d3ddfc9bc515b092a4cd6f6879b8f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213027
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
2021-09-10 21:53:26 +00:00
..
bin
docs
include
lib
observatory [VM] [CFE]: Expression compilation inside extension method 2021-09-10 12:02:57 +00:00
observatory_2 [VM] [CFE]: Expression compilation inside extension method 2021-09-10 12:02:57 +00:00
platform
tests [gardening] Give vm/dart{,_2}/use_strip_flag_test more time in TSAN mode 2021-09-10 13:34:29 +00:00
third_party
tools
vm [vm, compiler] Restore the performance of LoadUniqueObject. 2021-09-10 21:53:26 +00:00
.clang-tidy
.gitignore
BUILD.gn
codereview.settings
configs.gni
CPPLINT.cfg
PRESUBMIT.py
runtime_args.gni