Reviewers: titzer,
Description:
Improve 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
[email protected]
BUG=
Please review this at https://codereview.chromium.org/25505002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+186, -79 lines):
M src/heap.cc
M src/optimizing-compiler-thread.h
M src/optimizing-compiler-thread.cc
M src/utils.h
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.