public static int getFrameSize (VM_NativeMethod m) throws VM_PragmaUninterruptible {        int argSpace = BYTES_IN_STACKSLOT * (m.getParameterWords()+ 2); if (argSpace<32) argSpace = 32; int size = NATIVE_FRAME_HEADER_SIZE + argSpace + JNI_SAVE_AREA_SIZE;
public static int getFrameSize (VM_NormalMethod m) throws VM_PragmaUninterruptible { int size = getStartLocalOffset(m); if (m.getDeclaringClass().isDynamicBridge()) { size += (LAST_NONVOLATILE_FPR - FIRST_VOLATILE_FPR + 1) << LOG_BYTES_IN_DOUBLE; size += (LAST_NONVOLATILE_GPR - FIRST_VOLATILE_GPR + 1) << LOG_BYTES_IN_ADDRESS; }
  public static int getFrameSize (VM_NativeMethod m) throws VM_PragmaUninterruptible {    // space for:    //   -NATIVE header (AIX 6 words, LINUX 2 words)    //   -parameters and 2 new JNI parameters (jnienv + obj), minimum 8 words    //   -JNI_SAVE_AREA_OFFSET = savedSP + savedJTOC  + Processor_Register    //                           nonvolatile registers + GC flag +     //                           affinity (20 words) +    //                           saved volatile registers    int argSpace = BYTES_IN_STACKSLOT * (m.getParameterWords()+ 2);    if (argSpace<32)      argSpace = 32;    int size = NATIVE_FRAME_HEADER_SIZE + argSpace + JNI_SAVE_AREA_SIZE;         if (VM.BuildFor32Addr) {      size = VM_Memory.alignUp(size , STACKFRAME_ALIGNMENT);    }    return size;  }