Log analyser / visualiser for Java HotSpot JIT compiler. Inspect inlining decisions, hot methods, bytecode, and assembly. View results in the JavaFX user interface.
Other
3.06k
stars
437
forks
source link
JITWatch is ignoring LD_LIBRARY_PATH on Linux when searching for hsdis #327
Not all developers have sudo access to their java installation to copy the shared library for HSDIS there.
OpenJDK recommends using LD_LIBRARY_PATH to help Java find the hsdis shared library anyway, which works like a charm for -XX:+PrintAssembly and similar.
JITWatch does not look there for HSDIS though.
I have a patch proposal (see attached txt file), but I cannot quite get your formatting right, otherwise this would be a pull request :)
Not all developers have sudo access to their java installation to copy the shared library for HSDIS there.
OpenJDK recommends using LD_LIBRARY_PATH to help Java find the hsdis shared library anyway, which works like a charm for -XX:+PrintAssembly and similar.
JITWatch does not look there for HSDIS though.
I have a patch proposal (see attached txt file), but I cannot quite get your formatting right, otherwise this would be a pull request :)
jitWatch-patch-20200901-1227.patch.txt