John.Rose at Sun.COM
Sun Feb 24 01:04:15 PST 2008
On Feb 12, 2008, at 2:29 AM, Volker Simonis wrote:
>> P.S. There's a Gnu-based disassembler also
>> which has internally been integrated with
>> HotSpot, but for various almost-forgettable
>> legal reasons we cannot easily release
>> it, yet. Maybe some kind soul outside
>> of Sun can re-integrate it into HotSpot as a
>> hygenically factored disassembler.so.
> I don't pretend to be the kind soul that's been asked for in the post,
> but some while ago I submitted a patch to this list which enabled the
> disassembler for i486. You can find it here:
> I'm ready to take over the role of the "kind soul outside of Sun" and
> volunteer in integrating the disassembler into the OpenJDK if only we
> could solve the legal issues and some peer inside SUN will review the
> code (Chuck?).
Thanks for showing the way on this problem.
I made a similar integration of the binutils code,
but only with a plugin project (a single file of shim).
That keeps the GNU code at a suitable distance
from the HotSpot code.
Meanwhile, it's time get rid of the old plugin interface
in the JVM, for a number of reasons. This week I have
freshened up the disassembly handling by reworking
the plugin interface and promoting the disassembly
output options to 'diagnostic' status, which means
they are available in product mode, for help with
debugging the JVM and Java apps. in the field.
I just posted a review request:
An initial binutils-based version of the plugin is included
for reference in the review request.
More information about the hotspot-dev