[
https://issues.apache.org/jira/browse/IMPALA-13844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18076385#comment-18076385
]
ASF subversion and git services commented on IMPALA-13844:
----------------------------------------------------------
Commit 9b8960f60db1f54080eeec75d990d67d04cd166e in impala's branch
refs/heads/master from Arnab Karmakar
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=9b8960f60 ]
IMPALA-13844: [addendum] Optimize memory usage in /stacks handler
Move thread_name and kudu::faststring declarations outside the loop
to enable memory reuse between thread iterations within the same
stack trace group. This reduces memory allocation overhead when
processing threads with identical stack traces.
Change-Id: I73d213ba1241a6b5a404faeaae8a1f5c573618e4
Reviewed-on: http://gerrit.cloudera.org:8080/24175
Tested-by: Impala Public Jenkins <[email protected]>
Reviewed-by: Jason Fehr <[email protected]>
> Implement a /stacks web page
> ----------------------------
>
> Key: IMPALA-13844
> URL: https://issues.apache.org/jira/browse/IMPALA-13844
> Project: IMPALA
> Issue Type: Improvement
> Components: Backend
> Reporter: Quanlong Huang
> Assignee: Arnab Karmakar
> Priority: Major
> Labels: ramp-up
> Fix For: Impala 5.0.0
>
>
> Kudu 1.7 provides a util to dump the stacktraces of all native threads
> (KUDU-2291) and adds a /stacks page in the WebUI for that purpose. An example
> output:
> https://gist.github.com/toddlipcon/b64739ee5fb146ea1953380f57b996c4
> Impala can adds the same page since the code is also ported:
> https://github.com/apache/impala/blob/6f2ac8a4067558a1eee58eb506275d22049fdba3/be/src/kudu/util/debug-util.h#L253
> Kudu code of the handler:
> https://github.com/apache/kudu/blob/4484df479f83541dc2ee4e0efd0499246dc4db70/src/kudu/server/default_path_handlers.cc#L192-L193
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]