MCPcopy Create free account
hub / github.com/async-profiler/async-profiler / findImport

Method findImport

src/codeCache.cpp:244–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244void** CodeCache::findImport(ImportId id) {
245 if (!_imports_patchable) {
246 makeImportsPatchable();
247 }
248 return _imports[id][PRIMARY];
249}
250
251void CodeCache::patchImport(ImportId id, void* hook_func) {
252 if (!_imports_patchable && !makeImportsPatchable()) {

Callers 3

symbolsTest.cppFile · 0.80
checkJvmCapabilitiesMethod · 0.80
setupThreadHookMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected