VM.sysFail("GC modifying a potetentially moving object via Java (i.e. not magic)");
VM.sysFail("GC modifying a potentially moving object via Java (i.e. not magic)");
  public static void modifyCheck(Object obj) {    /* Make sure we don't GC does not putField on a possible moving     * object. */    if (Plan.gcInProgress()) {	VM_Address ref = VM_Magic.objectAsAddress(obj);	if (VMResource.refIsMovable(ref)) {	    VM.sysWriteln("GC modifying a potetentially moving object via Java (i.e. not magic)");	    VM.sysWriteln("  obj = ", ref);	    VM_Type t = VM_Magic.getObjectType(obj);	    VM.sysWrite(" type = "); VM.sysWriteln(t.getDescriptor());	    VM.sysFail("GC modifying a potetentially moving object via Java (i.e. not magic)");	}    }  }