| 272 | } |
| 273 | |
| 274 | CodeCache* Profiler::findLibraryByAddress(const void* address) { |
| 275 | const int native_lib_count = _native_libs.count(); |
| 276 | for (int i = 0; i < native_lib_count; i++) { |
| 277 | if (_native_libs[i]->contains(address)) { |
| 278 | return _native_libs[i]; |
| 279 | } |
| 280 | } |
| 281 | return NULL; |
| 282 | } |
| 283 | |
| 284 | const char* Profiler::findNativeMethod(const void* address) { |
| 285 | CodeCache* lib = findLibraryByAddress(address); |
no test coverage detected