dynamicLibraries = growArray(dynamicLibraries, currentDynamicLibraryId << 1); if (VM.VerifyAssertions) VM._assert(dynamicLibraries[currentDynamicLibraryId] == null);
dynamicLibraries = growArray(dynamicLibraries, currentDynamicLibraryId << 1);
  public static void loadLibrary(String libname) {    currentDynamicLibraryId++;    if (currentDynamicLibraryId>=(dynamicLibraries.length-1))      dynamicLibraries = growArray(dynamicLibraries, currentDynamicLibraryId << 1); // grow array by 2x    if (VM.VerifyAssertions) VM._assert(dynamicLibraries[currentDynamicLibraryId] == null);    // prepend "lib" if there is no path in the name    // attach the suffix .a to the library name for AIX, .so for Linux    //-#if RVM_FOR_LINUX      String suf = ".so";    //-#else    String suf = ".a";    //-#endif    if (libname.indexOf('/')==-1)      dynamicLibraries[currentDynamicLibraryId] = new VM_DynamicLibrary("lib" + libname + suf);    else      dynamicLibraries[currentDynamicLibraryId] = new VM_DynamicLibrary(libname + suf);  }