PrintAssembly at runtime / to different target

Stefan Reich stefan.reich.maker.of.eye at
Mon Sep 16 13:04:09 UTC 2019

Hi folks,

the PrintAssembly option is of course a valuable tool for a serious Java
developer. I can live with the fact that it requires a debug build of the
JDK (just made one). I understand that all the symbols need some space.

However, what I would really like is a way to selectively enable
PrintAssembly at runtime, from within the JVM. Also, it would be great to
get the output in a buffer, not just on STDOUT. As it is, the disassembly
actually mixes in with whatever the program prints, sometimes on the same

PrintAssembly is so good, but very hampered by the way it is currently

Anything on the horizon there?


Stefan Reich // Java-based operating systems

More information about the hotspot-dev mailing list