< prev index next >

src/os/aix/vm/os_aix.cpp

Print this page

        

@@ -1553,10 +1553,15 @@
   os::loadavg(loadavg, 3);
   st->print("%0.02f %0.02f %0.02f", loadavg[0], loadavg[1], loadavg[2]);
   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:");
 
   st->print_cr("  default page size: %s", describe_pagesize(os::vm_page_size()));

@@ -2791,10 +2796,14 @@
 
 size_t os::read(int fd, void *buf, unsigned int nBytes) {
   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) {
   assert(thread == Thread::current(), "thread consistency check");
 
< prev index next >