Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] Help explaining why FutureCallback.get would be showing up as a hotspot in profiling?

Hi Greg,

Thanks for the reply - my responses are in-line below:

> I'll digest the rest of your post in a bit.... but what is calling
> write.write(ch)

If it is helpful, here's the full source of the Solr 3.6.1
JSONResponseWriter (with line numbers):
https://github.com/apache/lucene-solr/blob/6b8783bfa59351878c59e47deaa7739d95150a22/solr/core/src/java/org/apache/solr/response/JSONResponseWriter.java#L629


>> 629:    writer.write(ch); <-- writes one char at a time???
> This is not going to help - so can you give me the calling trace above
> this call.

Here's a link to the full call trace:
https://gist.github.com/3877075

The next few calls up the chain are:

org.apache.solr.response.TextResponseWriter:writeVal:130 (method time
= 0 ms, total time = 1539 ms)

org.apache.solr.response.JSONWriter:writeDocList:508 (method time = 0
ms, total time = 1539 ms)

org.apache.solr.response.JSONWriter:writeDoc:460 (method time = 0 ms,
total time = 1539 ms)

org.apache.solr.response.JSONWriter:writeDoc:389 (method time = 0 ms,
total time = 1539 ms)

org.apache.solr.schema.SchemaField:write:135 (method time = 0 ms,
total time = 1539 ms)

org.apache.solr.schema.StrField:write:45 (method time = 0 ms, total
time = 1539 ms)

org.apache.solr.response.JSONWriter:writeStr:629 (method time = 0 ms,
total time = 1539 ms)

Thanks again,
     Aaron


Back to the top