if (verboseJNI) VM.sysWrite("JNI called: GetStringLength  \n");
if (traceJNI) VM.sysWrite("JNI called: GetStringLength  \n");
  private static int GetStringLength(int envJREF, int objJREF) {    if (verboseJNI) VM.sysWrite("JNI called: GetStringLength  \n");    VM_JNIEnvironment env;    try {      env = VM_Thread.getCurrentThread().getJNIEnv();      // retrieve the real String object from the side table      String str =  (String) env.getJNIRef(objJREF);      return str.length();    } catch (Throwable unexpected) {      env = VM_Thread.getCurrentThread().getJNIEnv();      env.recordException(unexpected);      return 0;    }  }