- Fix possible cast error in
updateandputIfAbsent.MapBaseusescontainsKeywhich is unreliable and creates data
race (due to GC) between check and read. - Optimize
length.MapBaseuseskeys.lengthwhich causes iteration and creation of
strong snapshot.