Пример #1
0
 /** ************************************************************************** Constructor. */
 public Plan() {
   /* Create base option instances */
   Options.verbose = new Verbose();
   Options.verboseTiming = new VerboseTiming();
   Options.stressFactor = new StressFactor();
   Options.noFinalizer = new NoFinalizer();
   Options.noReferenceTypes = new NoReferenceTypes();
   Options.fullHeapSystemGC = new FullHeapSystemGC();
   Options.harnessAll = new HarnessAll();
   Options.ignoreSystemGC = new IgnoreSystemGC();
   Options.metaDataLimit = new MetaDataLimit();
   Options.nurserySize = new NurserySize();
   Options.variableSizeHeap = new VariableSizeHeap();
   Options.eagerMmapSpaces = new EagerMmapSpaces();
   Options.sanityCheck = new SanityCheck();
   Options.debugAddress = new DebugAddress();
   Options.perfEvents = new PerfEvents();
   Map.finalizeStaticSpaceMap();
   registerSpecializedMethods();
 }
Пример #2
0
 /**
  * Return true if the address resides within the nursery
  *
  * @param addr The object to be tested
  * @return true if the address resides within the nursery
  */
 @Inline
 static boolean inNursery(Address addr) {
   if (USE_DISCONTIGUOUS_NURSERY) return Map.getDescriptorForAddress(addr) == NURSERY;
   else return addr.GE(NURSERY_START);
 }