long objectRef = variablesIn.readLong();
long cpos = variablesIn.getStreamPosition();
nreadReference(objectRef);
variablesIn.seek(cpos);
JThread t = model.getThread(objectRef);
t.threadName = threadname;
log.log(Level.FINEST, t.threadName);
t.groupID = 0;
t.priority = (short) variablesIn.readInt();
t.daemon = (short) variablesIn.readByte();
t.setState(variablesIn.readInt());
t.setObject((JObject) model.getObjectAtAddress(objectRef));
readMonitor(t);
readContendedMonitor(t);
if (variablesIn.read()==CJVMTI_FRAME){