RFR(M): JDK-8163011: AArch64: NMT detail stack trace cleanup

Andrew Dinn adinn at redhat.com
Mon Sep 4 14:28:13 UTC 2017

On 04/09/17 14:49, dmitry.samersov wrote:
>> Yes, but NMT also works (and is meant to work) on product builds where
>> the required symbols are not available.
> 1. This patch doesn't affect product build. On product build we have all
> NMT frames inlined and don't need to skip anything.
> I'll put these changes under #ifndef PRODUCT to make it clear visible.

Ok, thank you for correcting my misunderstanding here.

> 2. NMT uses .symtab section and these symbols also available in release
> build by default, unless someone manually strip libjvm.so

Hmm, apologies once again if I have misunderstood how things work in
release builds. I have been using NMT in the last 2 weeks, albeit under
jdk8, and symbols were *not* displayed when running my local product
build (the traces simply displayed hex addresses). I configured the
build with

  --with-debug-level=release --disable-zip-debug-info

Am I missing something obvious to account for the lack of symbols in my
trace output?


Andrew Dinn
Senior Principal Software Engineer
Red Hat UK Ltd
Registered in England and Wales under Company Registration No. 03798903
Directors: Michael Cunningham, Michael ("Mike") O'Neill, Eric Shander

More information about the hotspot-runtime-dev mailing list