Chromium Code Reviews
DescriptionPrepares allocation for proper sync with mutator and bg threads.
When top_ is required, we now search through all active threads and pull
the top_ furthest in the space.
When searching the space, we fills every thread's TLAB with a
FreeListElement. Note that future allocations can safely overwrite
them. We do NOT abandon the TLAB (i.e. set top_,end_ to 0) in these
cases.
Added notes to determing where to lock/unlock for threads
R=asiva@google.com, rmacnak@google.com
Committed: https://github.com/dart-lang/sdk/commit/78745901799347a9184689b01c92a039fbd76698
Patch Set 1 #
Total comments: 10
Patch Set 2 : Splits FindTopOfSpace to two functions #
Total comments: 4
Patch Set 3 : Adds thread locking to functions that iterate over threads #
Total comments: 1
Patch Set 4 : Respond to comments and merge with master. #Patch Set 5 : Calculates new space's usage w.r.t multiple threads' TLABs #Patch Set 6 : Adds locking when creating new TLABs #
Total comments: 12
Patch Set 7 : Removes comments and checks for unscheduled mutator #
Messages
Total messages: 14 (1 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||