Chromium Code Reviews
DescriptionVM: [GC] Array::MakeArray is racing with the sweeper.
Array::MakeArray can update tags and length of an array after tags were loaded by RawObject::Size() which leads to the inconsistency between size computed from these (stale) tags and SizeFromClass().
This race is benign in release mode and should only affect the assertion: if sweeper is using stale tags it will just think that a more memory is occupied by the array than it really occupies.
Fixes https://github.com/dart-lang/sdk/issues/27988
R=rmacnak@google.com
Committed: https://github.com/dart-lang/sdk/commit/e538af5a445ea03045b3d1de309283368591bbc2
Patch Set 1 #Patch Set 2 : Add a workaround for the MakeArray race #Messages
Total messages: 10 (5 generated)
|