efa1e18428
This CL removes asserts that prevented background compiler from doing class finalization. It adds program_lock synchronization for when object properties are updated during class finalization. It also encloses code instructions installation into safepoint scopes to ensure that no code is executed during installation. Issue https://github.com/dart-lang/sdk/issues/36097 TEST=existing test suite Change-Id: If297e44f51b187242eca2cdcfff066c8f6386d97 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/178163 Commit-Queue: Alexander Aprelev <aam@google.com> Reviewed-by: Ryan Macnak <rmacnak@google.com>