Package org.mmtk.plan

Examples of org.mmtk.plan.CollectorContext


   * <code>TRIGGER_REASONS - 1</code>.
   */
  public final void triggerCollection(int why) throws InterruptiblePragma {
      //System.out.println("org.apache.HarmonyDRLVM.mm.mmtk.Collection.triggerCollection() -2- has been called why = " + why);
      //VM.assertions._assert(false);
      CollectorContext cc = SelectedPlan.ap.collector();
      cc.collect();
  }
View Full Code Here


          //System.out.println("slot_24 = " + Integer.toHexString(slot_24) );
          objSize = slot_24;
      }
      //System.out.println("ObjectModel.copy(), allocator = " + allocator);
      //VM.assertions._assert(allocator == 0);
      CollectorContext cc = SelectedPlan.ap.collector();
      Address addrTo = cc.allocCopy(from, objSize,
          0, /*int align,*/  0, /*int offset,*/ allocator) ;
      Address addrFrom = from.toAddress();
            //System.out.println("ObjectModel.copy(), objSize = " + objSize + " addrFrom = " +
                //Integer.toHexString(addrFrom.toInt()) + " addrTo = " + Integer.toHexString(addrTo.toInt()) );
      Address addrCursor = addrTo;
View Full Code Here

TOP

Related Classes of org.mmtk.plan.CollectorContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.