[ https://issues.apache.org/jira/browse/SOLR-12233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16503743#comment-16503743 ]
ASF subversion and git services commented on SOLR-12233: -------------------------------------------------------- Commit 2dd6036fbfbbfe18b99c42b9b26e2f51ab21d164 in lucene-solr's branch refs/heads/branch_7x from Jeff [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=2dd6036 ] SOLR-12233: QParserPlugin's static registry of builtins can be optimized to avoid needless ClassLoader activity on SolrCore load. (cherry picked from commit 0c6f38a) > QParserPlugin maintains a list of classes recreated every time a Solrcore > object is created > ------------------------------------------------------------------------------------------- > > Key: SOLR-12233 > URL: https://issues.apache.org/jira/browse/SOLR-12233 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Affects Versions: 7.1.1 > Reporter: Jeff Miller > Assignee: David Smiley > Priority: Minor > Attachments: SOLR-12233.patch > > Time Spent: 10m > Remaining Estimate: 0h > > QParserPlugin maintains a static map of Class Names to Class objects and > everytime we create a SolrCore object this causes a lot of overhead doing > classloader lookups. Our system runs a lot of cores and the classloader gets > bogged down when a lot of threads are creating solrcore objects. > There's no need to create these objects every time, similar classes such as > TransformerFactory store the object one time and reference it over and over > again -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org