double liveRatio = Plan.reservedMemory() / ((double) Plan.totalMemory());
double liveRatio = Plan.reservedMemory() / ((double) currentHeapSize);
  public static boolean considerHeapSize() {    int oldSize = currentHeapSize;    double liveRatio = Plan.reservedMemory() / ((double) Plan.totalMemory());    double ratio = computeHeapChangeRatio(liveRatio);    int newSize = (int)(ratio * (double)oldSize);    if (newSize > 10 * (1<<20)) {      newSize = (newSize + (1<<20)) >> 20 << 20;    } else {      newSize = (newSize + (1<<10)) >> 10 << 10;    }    if (newSize > maxHeapSize) newSize = maxHeapSize;    if (newSize != oldSize) {      // Heap size is going to change      currentHeapSize = newSize;      if (Options.verbose >= 2) { 	VM_Interface.sysWrite("Heap changed from ", (int) (oldSize / 1024)); 	VM_Interface.sysWrite("KB to ", (int) (newSize / 1024)); 	VM_Interface.sysWriteln("KB");       }       return true;    } else {      return false;    }  }