src/os/aix/vm/os_aix.cpp

changeset 9931
fd44df5e3bc3
parent 9756
2be326848943
parent 9858
b985cbb00e68
     1.1 --- a/src/os/aix/vm/os_aix.cpp	Wed Oct 14 16:43:13 2020 +0800
     1.2 +++ b/src/os/aix/vm/os_aix.cpp	Wed Oct 14 17:44:48 2020 +0800
     1.3 @@ -1555,6 +1555,11 @@
     1.4    st->cr();
     1.5  }
     1.6  
     1.7 +int os::get_loaded_modules_info(os::LoadedModulesCallbackFunc callback, void *param) {
     1.8 +  // Not yet implemented.
     1.9 +  return 0;
    1.10 +}
    1.11 +
    1.12  void os::print_memory_info(outputStream* st) {
    1.13  
    1.14    st->print_cr("Memory:");
    1.15 @@ -2793,6 +2798,10 @@
    1.16    return ::read(fd, buf, nBytes);
    1.17  }
    1.18  
    1.19 +size_t os::read_at(int fd, void *buf, unsigned int nBytes, jlong offset) {
    1.20 +  return ::pread(fd, buf, nBytes, offset);
    1.21 +}
    1.22 +
    1.23  #define NANOSECS_PER_MILLISEC 1000000
    1.24  
    1.25  int os::sleep(Thread* thread, jlong millis, bool interruptible) {

mercurial