RFR: 8275729: Qualified method names in CodeHeap Analytics
Evgeny Astigeevich
duke at openjdk.java.net
Tue Nov 2 22:52:17 UTC 2021
On Tue, 2 Nov 2021 22:05:01 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
> I don't think we need this assert just to print klass's name. May be follow the code pattern for method's name and signature.
Agree. I'll submit PR with the code:
Symbol* className = klass->name();
const char* classNameS = (className == nullptr) ? nullptr : className->external_name();
classNameS = (classNameS == nullptr) ? "<class name unavailable>" : classNameS;
ast->print("%s.", classNameS);
-------------
PR: https://git.openjdk.java.net/jdk/pull/6200
More information about the serviceability-dev
mailing list