You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Mark Robert Miller (Jira)" <ji...@apache.org> on 2021/07/20 00:22:00 UTC
[jira] [Created] (SOLR-15551) Do not eagerly fill stack traces with
ObjectReleaseTracker
Mark Robert Miller created SOLR-15551:
-----------------------------------------
Summary: Do not eagerly fill stack traces with ObjectReleaseTracker
Key: SOLR-15551
URL: https://issues.apache.org/jira/browse/SOLR-15551
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Components: Tests
Reporter: Mark Robert Miller
Filling stack traces is really slow and so should not be eagerly done on every ObjectReleaseTracker#track.
A much faster way to get a decent perf stack is the stack trace walker API & not necessarily walking the whole trace.
This only fastest when everything must almost always happen and happen inline in a thread.
If a different thread is filling the trace than the one capturing it, or if you are only filling after a failure in exceptional cases, the fastest thing to do is simple store a thrown exception and only trigger the fill when/if needed at that point.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org