< prev index next >

src/share/vm/runtime/os.hpp

Print this page

        

*** 554,563 **** --- 554,564 ---- static int available(int fd, jlong *bytes); //File i/o operations static size_t read(int fd, void *buf, unsigned int nBytes); + static size_t read_at(int fd, void *buf, unsigned int nBytes, jlong offset); static size_t restartable_read(int fd, void *buf, unsigned int nBytes); static size_t write(int fd, const void *buf, unsigned int nBytes); // Reading directories. static DIR* opendir(const char* dirname);
*** 602,611 **** --- 603,622 ---- static void* dll_lookup(void* handle, const char* name); // Unload library static void dll_unload(void *lib); + // Callback for loaded module information + // Input parameters: + // char* module_file_name, + // address module_base_addr, + // address module_top_addr, + // void* param + typedef int (*LoadedModulesCallbackFunc)(const char *, address, address, void *); + + static int get_loaded_modules_info(LoadedModulesCallbackFunc callback, void *param); + // Return the handle of this process static void* get_default_process_handle(); // Check for static linked agent library static bool find_builtin_agent(AgentLibrary *agent_lib, const char *syms[],
< prev index next >