On Tue, Oct 30, 2012 at 09:52:02AM +0000, [email protected] wrote: > Author: Knut Anders Hatlen <[email protected]> > Repository: /hg/opengrok/trunk > Branch: default > Latest revision: d91dcc85adc3927332d46d0c311e7e7cbe9d81fc > Total changesets: 1 > Log message: > Don't use String.intern() in the fix for bug #809. > > The String.intern() method may exhaust permgen space, so it's better > to use the Interner class which places the seen symbols on the heap.
Wondering, whether their is any benefit in "interning" the match/signature as well. My guts say no ... BTW: Anyone already tried to rise the IntegerCache Limit like -XX:AutoBoxCacheMax=43561|32639|21716|16255|10793|8063|5332|3967|2601|1919|1236|895|553|383 ? Since OG uses a lot of autoboxing / int <-> Integer mapping, often outside of -128..127, it may save a little bit mem as well (on 64-bit 24 byte/Integer IIRC) and may give some speed improvements (less obj create, less work for the GC ...). Have fun, jel. -- Otto-von-Guericke University http://www.cs.uni-magdeburg.de/ Department of Computer Science Geb. 29 R 027, Universitaetsplatz 2 39106 Magdeburg, Germany Tel: +49 391 67 12768 _______________________________________________ opengrok-dev mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opengrok-dev
