Re: [rvm-research] Work distribution in parallel GC threads
Eliot Moss <[email protected]>
| Newsgroups | gmane.comp.java.jikes.rvm.devel |
|---|---|
| Message-ID | <[email protected]> |
On 9/17/2014 9:58 PM, Junjie Qian wrote: > Hi all, > > I am trying to understand how the work is assigned to parallel GC threads in Jikes RVM (I assume it > is evenly divided the heap in pages and assign certain pages to different GC threads). > > I read the files in mmtk, but cannot locate where this is defined. Would someone please tell me > where this is defined? > Thanks! Dear Junjie -- I am not intimately familiar with the code, but think that there is a work queue for each worker thread. So the question really is: how are items assigned to various work queues? Find the code that does that and you have your answer. Different algorithms proceed differently on this matter ... Regards -- Eliot Moss ------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk