From: Daniel F. <zyr...@zy...> - 2010-03-28 22:27:12
|
Memory for code is also managed by MMTk, so it is possible your GC is not treating code objects correctly. Code is not allowed to move, and generally allocated using a different set of allocators. The harness does not generally allocate these types of objects (although it would be relatively straightforward to create a case that tested that). I would have a look through MMTk at the small and large code allocation/collection. I assume you run into a similar problem when running without the sanity checker? Cheers, Daniel. On Mon, Mar 29, 2010 at 8:47 AM, Marcin <mv...@wp...> wrote: > Hi everyone > > I'm doing research with MMTk and have stumbled across some difficulties > while working on a new GC algorithm. Unfortunately after some of > modifications into the GC plan sanity checking which is invaluable in > tracing GC problems has stopped working. > Please note that Pre-GC pass completes successfully. > I'm working with Jikes RVM 3.1.0 on Linux x86. > I have absolutely no clues what can be wrong as I haven't changed > anything in the compilers or RVM, only in MMTk. Other plans are working > fine. Sanity check in harness is working fine. > Please help. > > Best regards, > Marcin Wyrwas > > > > Execute SimplePhase(release) as Mutator... > Execute SimplePhase(release) as Collector... > Execute SimplePhase(release) as Global... > Execute SimplePhase(sanity-setpost) as Global... > Execute SimplePhase(sanity-prepare) as Global... > > ============================== GC Sanity Checking > ============================== > Performing Post-GC Sanity Checks... > Execute SimplePhase(sanity-prepare) as Collector... > Execute SimplePhase(prepare-stacks) as Collector... > Execute SimplePhase(prepare-stacks) as Mutator... > Execute SimplePhase(prepare-stacks) as Global... > Execute SimplePhase(sanity-roots) as Collector... > WARNING: attempt to get compiled method #0x57ba9344 > Died in GC: > attempt to get an invalid compiled method ID > Thread #2 > -- Stack -- > at [0x6704ecd4, 0x5b2fb655] Lorg/jikesrvm/VM; > sysFail(Ljava/lang/String;)V at line 2278 > at [0x6704ecf0, 0x5b1fc1ba] > Lorg/jikesrvm/compilers/common/CompiledMethods; > getCompiledMethod(I)Lorg/jikesrvm/compilers/common/CompiledMethod; at > line 109 > at [0x6704ed1c, 0x5b1fc359] Lorg/jikesrvm/mm/mmtk/ScanThread; > setUpFrame(I)Z at line 412 > at [0x6704ed40, 0x5b1fc88f] Lorg/jikesrvm/mm/mmtk/ScanThread; > scanFrame(I)Lorg/vmmagic/unboxed/Address; at line 370 > at [0x6704ed6c, 0x5b1fc9ec] Lorg/jikesrvm/mm/mmtk/ScanThread; > scanThreadInternal(Lorg/vmmagic/unboxed/Address;I)V at line 282 > at [0x6704edb0, 0x5b249dfd] Lorg/jikesrvm/mm/mmtk/ScanThread; > > startScan(Lorg/mmtk/plan/TraceLocal;ZLorg/jikesrvm/scheduler/RVMThread;Lorg/vmmagic/unboxed/Address;Lorg/vmmagic/unboxed/Address;Lorg/vmmagic/unboxed/Address;Lorg/vmmagic/unboxed/Address;Lorg/vmmagic/unboxed/Address;)V > at line 232 > at [0x6704ee0c, 0x5b249f23] Lorg/jikesrvm/mm/mmtk/ScanThread; > > scanThread(Lorg/jikesrvm/scheduler/RVMThread;Lorg/mmtk/plan/TraceLocal;ZLorg/vmmagic/unboxed/Address;Lorg/vmmagic/unboxed/Address;)V > at line 198 > at [0x6704ee50, 0x5b2243a5] Lorg/jikesrvm/mm/mmtk/ScanThread; > scanThread(Lorg/jikesrvm/scheduler/RVMThread;Lorg/mmtk/plan/TraceLocal;Z)V > at line 138 > at [0x6704ee84, 0x5b1f8964] Lorg/jikesrvm/mm/mmtk/Scanning; > computeThreadRoots(Lorg/mmtk/plan/TraceLocal;)V at line 325 > at [0x6704eeac, 0x5b1f913c] > Lorg/mmtk/utility/sanitychecker/SanityCheckerLocal; collectionPhase(IZ)Z > at line 55 > at [0x6704eed8, 0x5b1f94eb] Lorg/mmtk/plan/SimpleCollector; > collectionPhase(SZ)V at line 155 > ... > > >From RVM.map : > 143149 0x0000bcb4 field 0x57ba9344 < BootstrapCL, > Lorg/jikesrvm/mm/mminterface/Selected$Plan; >.plan > Lorg/jikesrvm/mm/mminterface/Selected$Plan; > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Jikesrvm-researchers mailing list > Jik...@li... > https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers > |