mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-11-09 07:24:41 +00:00
Minimize transient garbage creation identified by allocation profiling
* UURIFactory, canonicalize/**, PathologicalPathDecideRule, ExtractorHTML
use recycled matchers via TextUtils
* CrawlURI, KeyedProperties, OverlayContext, SheetOverlaysManager
use ArrayList and indexed access rather than LinkedList and iterator instances
This commit is contained in:
1 parent
acedca1788
commit
f4d69b37da
12 files changed
+64
-66
No files matched your search
@@ -315,7 +315,7 @@ BeanFactoryAware, OverlayMapsSource, ApplicationListener {
|
||||
List<String> foundPrefixes = PrefixFinder.findKeys(sheetNamesBySurt, effectiveSurt);
|
||||
for(String prefix : foundPrefixes) {
|
||||
for(String name : sheetNamesBySurt.get(prefix)) {
|
||||
curi.getOverlayNames().push(name);
|
||||
curi.getOverlayNames().add(name);
|
||||
}
|
||||
}
|
||||
// apply deciderule-based overlays
|
||||
|
||||
Reference in new issue
Block a user