Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
fix for deadlock in plasmaWordIndex.addPageIndex synchronization for class method not necessary see also: http://www.yacy-forum.de/viewtopic.php?p=34959#34959
orbiter47e90f31b28c
diff --git a/source/de/anomic/plasma/plasmaWordIndex.java b/source/de/anomic/plasma/plasmaWordIndex.javaindex 7c1414f4c..df7db109d 100644--- a/source/de/anomic/plasma/plasmaWordIndex.java+++ b/source/de/anomic/plasma/plasmaWordIndex.java@@ -277,7 +277,7 @@ public final class plasmaWordIndex implements indexRI {return ((long) microDateDays) * ((long) day);}- public synchronized int addPageIndex(URL url, String urlHash, Date urlModified, int size, plasmaParserDocument document, plasmaCondenser condenser, String language, char doctype, int outlinksSame, int outlinksOther) {+ public int addPageIndex(URL url, String urlHash, Date urlModified, int size, plasmaParserDocument document, plasmaCondenser condenser, String language, char doctype, int outlinksSame, int outlinksOther) {// this is called by the switchboard to put in a new page into the index// use all the words in one condenser object to simultanous create index entries