7062856 (original) (raw)

Prepared by:

never on Tue Jul 5 21:27:51 PDT 2011

Workspace:

/net/smite.us.oracle.com/export/ws/baseline

Compare against:

ssh://hg.openjdk.java.net/hsx/hotspot-comp-gate/hotspot

Summary of changes:

44 lines changed: 39 ins; 0 del; 5 mod; 573 unchg

Patch of changes:

<7062856.patch>

Author comments:

7062856: Disassembler needs to be smarter about finding hsdis after 1.7 launcher changes
Summary: do explicit lookup emulating old LD_LIBRARY_PATH search
Reviewed-by: kvn, jrose

Changes to launcher in the JDK7 removed the default setting of
LD_LIBRARY_PATH which was being used to find the disassembler. I
added explicit logic to perform a lookup equivalent to the previous
behaviour. Tested with truss to confirm search paths and
PrintNMethods.

I also fixed an annoyance where every separate invocation of the
disassembler emitted the "Disassembling ..." message so that it would
only print it again if it changed.

Bug id:

Bug Database

Legend:

Modified file
Deleted file
New file