DescriptionImprove queuing for concurrent OSR.
Specifically, this includes:
- Encapsulating data structure for osr buffer into CyclicBuffer
- Use the new CyclicQueue instead of UnboundedQueue to queue new jobs.
We can enqueue and dequeue a CyclicQueue on both ends in O(1).
This allows us to add OSR jobs to the front for lower compile latency.
- Dispose osr buffer by one stale job per GC to avoid leak
R=titzer@chromium.org
BUG=
Committed: https://code.google.com/p/v8/source/detail?r=17244
Patch Set 1 #
Total comments: 4
Patch Set 2 : address comments #Patch Set 3 : inlined datastructures at call sites. #
Total comments: 1
Patch Set 4 : added inline attribute as suggested #
Messages
Total messages: 6 (0 generated)
|