RFR: JDK-8267930: Refine code for loading hsdis library

Nils Eliasson neliasso at openjdk.java.net
Mon May 31 07:12:30 UTC 2021


On Sat, 29 May 2021 05:59:45 GMT, Hamlin Li <mli at openjdk.org> wrote:

> code for loading hsdis library is redundant, this is to simplify it.

In general a very nice clean up!

One suggestion - JVM_MAXPATHLEN and buf doesn't have a relationship in Disassembler::dll_load. Add the buf length as an argument and use that inside instead.

-------------

Changes requested by neliasso (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/4260


More information about the hotspot-compiler-dev mailing list