nmethod::print_calls(outputStream* st) still needed ?

Vladimir Kozlov vladimir.kozlov at oracle.com
Tue Dec 19 17:55:03 UTC 2017


Long-long ago it was called from nmethod::print_nmethod() but we lost it 
there. It is seems the call was removed because it was noisy.
I think it still can be used when debugging CompiledIC.

Regards,
Vladimir

On 12/19/17 8:37 AM, Baesken, Matthias wrote:
> Hello,    nmethod::print_calls   from
> 
>    src<http://ld8443:8080/source/xref/openjdk-jdk-jdk/src/>/hotspot<http://ld8443:8080/source/xref/openjdk-jdk-jdk/src/hotspot/>/share<http://ld8443:8080/source/xref/openjdk-jdk-jdk/src/hotspot/share/>/code<http://ld8443:8080/source/xref/openjdk-jdk-jdk/src/hotspot/share/code/>/nmethod.cpp<http://ld8443:8080/source/xref/openjdk-jdk-jdk/src/hotspot/share/code/nmethod.cpp>     and
>    src<http://ld8443:8080/source/xref/openjdk-jdk-jdk/src/>/hotspot<http://ld8443:8080/source/xref/openjdk-jdk-jdk/src/hotspot/>/share<http://ld8443:8080/source/xref/openjdk-jdk-jdk/src/hotspot/share/>/code<http://ld8443:8080/source/xref/openjdk-jdk-jdk/src/hotspot/share/code/>/nmethod.hpp<http://ld8443:8080/source/xref/openjdk-jdk-jdk/src/hotspot/share/code/nmethod.cpp>
> 
> seems to be not referenced any more.
> Should it be removed ?
> 
> (I was   looking into this when I   searched for  the  potential need of  additional   ResourceMarks  when   CompiledIC_at<http://ld8443:8080/source/s?defs=CompiledIC_at&project=openjdk-jdk-jdk>  is  used
>      Which is done  in  nmethod::print_calls   .  )
> 
> 
> Thanks, Matthias
> 


More information about the hotspot-dev mailing list