RFR: 8017588: SA: jstack -l throws UnalignedAddressException while attaching to core file for java that was started with CMS GC

Thomas Schatzl thomas.schatzl at oracle.com
Wed Jul 3 01:48:43 PDT 2013


Hi,

On Wed, 2013-07-03 at 10:33 +0200, Erik Helin wrote:
> Hi all,
> 
> this change fixes an issue where we could not run jstack -l -F on a
> java process running with -XX:+UseConcMarkSweepGC.
> 
> The problem originated from the following change in hotspot:
>  changeset:   3707:8bafad97cd26
>  parent:      3693:973046802b6f
>  7158552: The instanceKlsss::_host_klass is only needed for anonymous class for JSR 292 support.
> 
> [...]
>
> The corresponding code in the serviceability agent was not updated:
> 
> [...]
>
> This fix updates the SA code to be like the hotspot code. I've also
> introduced variables in the hotspot code and in the SA code to make it
> easier to compare the two versions.

Looks good to me. Thanks for breaking out the calculation of the
components into separate statements.

Thomas



More information about the hotspot-runtime-dev mailing list