--- old/src/os/aix/vm/os_aix.cpp 2019-02-15 19:02:11.315746964 +0300 +++ new/src/os/aix/vm/os_aix.cpp 2019-02-15 19:02:11.163752288 +0300 @@ -1555,6 +1555,11 @@ st->cr(); } +int os::get_loaded_modules_info(os::LoadedModulesCallbackFunc callback, void *param) { + // Not yet implemented. + return 0; +} + void os::print_memory_info(outputStream* st) { st->print_cr("Memory:"); @@ -2793,6 +2798,10 @@ return ::read(fd, buf, nBytes); } +size_t os::read_at(int fd, void *buf, unsigned int nBytes, jlong offset) { + return ::pread(fd, buf, nBytes, offset); +} + #define NANOSECS_PER_MILLISEC 1000000 int os::sleep(Thread* thread, jlong millis, bool interruptible) { @@ -4184,8 +4193,7 @@ /* Scan the directory */ bool result = true; - char buf[sizeof(struct dirent) + MAX_PATH]; - while (result && (ptr = ::readdir(dir)) != NULL) { + while (result && (ptr = readdir(dir)) != NULL) { if (strcmp(ptr->d_name, ".") != 0 && strcmp(ptr->d_name, "..") != 0) { result = false; }