TraceGenerator.addTraceObject(ref, linkSite); if (allocator == DEFAULT_SPACE && bytes > LOS_SIZE_THRESHOLD) { Header.initializeLOSHeader(ref, tib, bytes, isScalar); } else { switch (allocator) { case  DEFAULT_SPACE: break; case IMMORTAL_SPACE: ImmortalSpace.postAlloc(ref); break; case      LOS_SPACE: Header.initializeLOSHeader(ref, tib, bytes, isScalar); break; default: if (VM_Interface.VerifyAssertions) VM_Interface.sysFail("No such allocator"); }
TraceGenerator.addTraceObject(ref, allocator); switch (allocator) { case  DEFAULT_SPACE: break; case IMMORTAL_SPACE: ImmortalSpace.postAlloc(ref); break; case      LOS_SPACE: Header.initializeLOSHeader(ref, tib, bytes, isScalar); break; default: if (VM_Interface.VerifyAssertions) VM_Interface.sysFail("No such allocator");
  public final void postAlloc(VM_Address ref, Object[] tib, int bytes,			      boolean isScalar, int allocator)    throws VM_PragmaInline {    int linkSite = ((allocator == DEFAULT_SPACE && bytes > LOS_SIZE_THRESHOLD) ?                    LOS_SPACE : allocator);    /* Make the trace generator aware of the new object. */    TraceGenerator.addTraceObject(ref, linkSite);    if (allocator == DEFAULT_SPACE && bytes > LOS_SIZE_THRESHOLD) {      Header.initializeLOSHeader(ref, tib, bytes, isScalar);    } else {      switch (allocator) {      case  DEFAULT_SPACE: break;      case IMMORTAL_SPACE: ImmortalSpace.postAlloc(ref); break;      case      LOS_SPACE: Header.initializeLOSHeader(ref, tib, bytes, isScalar); break;      default:	if (VM_Interface.VerifyAssertions) 	  VM_Interface.sysFail("No such allocator");      }    }    /* Now have the trace process aware of the new allocation. */    traceInducedGC = TraceGenerator.MERLIN_ANALYSIS;    TraceGenerator.traceAlloc(allocator == IMMORTAL_SPACE, ref, tib, bytes);  }