-
Notifications
You must be signed in to change notification settings - Fork 937
Description
Describe the bug
While working on the #1174 issue it was observed that the Async profiler doesn't detect all JVM symbols while parsing the JVM/Java library on the MacOs (symbols_macos.cpp).
For example the JVM_StartThread
symbol was never detected in the calls made to the CodeCache::addImport
function call on MacOs while it was detected normally on Linux.
Expected vs. actual behavior
Expected: Symbol parsing on MacOs to detect all symbols similar to Linux.
Actual: Some symbols aren't being detected during the loading of Libs on MacOs
Reproduction Steps
To reproduce the issue you can enable the asyncProfilerFirstNoneNativeAppTest
test on MacOs & observe the parsed symbols via a simple logging statement on the CodeCache::addImport
function
You can find the test here #1192
Additional Information/Context
You may use the changes here #1192 to observe the issue more easily
Async-profiler version
latest
Environment details
No response