AdoptOpenJDK/jitwatch

JITWatch is ignoring LD_LIBRARY_PATH on Linux when searching for hsdis

Tech-Risk-Chris-zz opened this issue · 1 comments

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

Thanks! Added your patch in 567b85b