ParNew 4x slower under 1.7 vs 1.6?
Holger Hoffstätte
holger.hoffstaette at googlemail.com
Sat Sep 14 07:08:26 PDT 2013
On 09/14/13 15:39, Andrew Mulholland wrote:
> It is our belief that r3670, which adds a finalizer method to the
> Unmarshaller (which was an attempted fix for
> https://java.net/jira/browse/JAXB-831 ) is the change which causes this
> behavior.
Are you setting -XX:+ParallelRefProcEnabled ? If not, give it a try.
It's off by default, which frequently causes problems with many weak
references. Ultimately the problem is that JAXB - like many other IMHO
broken libraries - exposes no explicit resource management or lifecycle
control mechanisms, and passively relies on mostly nondeterministic GC
behaviour.
-h
More information about the hotspot-gc-use
mailing list