Lines Matching defs:library
2170 void* library;
2182 // If the path is absolute we attempt to load the library. Otherwise we try to
2186 library = os::dll_load(agent, ebuf, sizeof ebuf);
2190 library = os::dll_load(buffer, ebuf, sizeof ebuf);
2191 if (library == NULL) {
2195 library = os::dll_load(buffer, ebuf, sizeof ebuf);
2199 // If the library was loaded then we attempt to invoke the Agent_OnAttach
2201 if (library != NULL) {
2208 CAST_TO_FN_PTR(OnAttachEntry_t, os::dll_lookup(library, on_attach_symbols[symbol_index]));
2213 // Agent_OnAttach missing - unload library
2214 os::dll_unload(library);
2234 Arguments::add_loaded_agent(agent, (char*)options, is_absolute_path, library);