-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mac #6
Comments
Can you please elaborate on the problem you're seeing? |
macos/jdk1.8.0_301/getSymbol("gHotSpotVMStructs") error:No such symbol:gHotSpotVMStructs code: public long getSymbol(String name) { |
"Thank you. These codes run without errors on both Windows and Linux systems. What I need to do is: https://github.com/apangin/helfy/blob/master/test/one/helfy/DisableStructs.java" |
Thank you for the report. Indeed, libjvm.dylib does not export VMStructs symbols on macOS. However, they are still available as private symbols in a shared library. To read those symbols, one will need to implement a mach-O parser to find symbols directly in the dylib. |
Thank you for your response. This area is a knowledge gap for me, and I don't know how to implement it. Hehe |
I may provide some guidance/consultation if you wish. |
Thank you very much! This is my personal learning project. Currently, macOS is not my development priority. I will focus on completing the code on Linux or Windows. Thank you for your guidance, and I will gradually address macOS support in my subsequent learning. Thanks again! |
No such symbol:gHotSpotVMStructs
The text was updated successfully, but these errors were encountered: