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-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org