priority = newPriority;
vmdata.priority = newPriority;
  public final synchronized void setPriority(int newPriority){    checkAccess();    if (newPriority < MIN_PRIORITY || newPriority > MAX_PRIORITY) {      throw new IllegalArgumentException();    }    int tgmax = getThreadGroup().getMaxPriority();    if (newPriority > tgmax) newPriority = tgmax;    priority = newPriority;  }