DescriptionCache hash code for closures.
Computing the hash code for closures is fairly expensive since
it involves the function name and signature strings.
This CL caches the hash code in the ClosureData object.
Fixes #28161.
R=asiva@google.com
Committed: https://github.com/dart-lang/sdk/commit/7615e899be45747efd987db74033bf0f2ba9fb70
Patch Set 1 #Patch Set 2 : null == hash not computed yet #
Total comments: 2
Patch Set 3 : addressed dbc comments #
Total comments: 2
Patch Set 4 : fixed GC tracing and snapshot reader #Patch Set 5 : remove redundant assertion #
Messages
Total messages: 13 (3 generated)
|