private static void ReleaseStringChars(JNIEnvironment env,int objJREF,Address bufAddress){
  if (traceJNI)   VM.sysWrite("JNI called: ReleaseStringChars  \n");
  RuntimeEntrypoints.checkJNICountDownToGC();
  try {
    sysCall.sysFree(bufAddress);
  }
 catch (  Throwable unexpected) {
    if (traceJNI)     unexpected.printStackTrace(System.err);
    env.recordException(unexpected);
  }
}

private static void ReleaseStringChars ( JNIEnvironment env , int objJREF , Address bufAddress ) { if ( traceJNI ) VM . sysWrite ( "JNI called: ReleaseStringChars  \n" ) ; RuntimeEntrypoints . checkJNICountDownToGC ( ) ; try { sysCall . sysFree ( bufAddress ) ; } catch ( Throwable unexpected ) { if ( traceJNI ) unexpected . printStackTrace ( System . err ) ; env . recordException ( unexpected ) ; } }
releasestringchars : release buffer obtained via getstringchars
