HeapSpaceStringConverter instead.@Deprecated public class StringConverter2 extends com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter
StringConverter in XStream
uses String.intern(), which stresses the
(rather limited) PermGen space with a large XML file.
Use this to avoid that (instead those strings will now be allocated to the heap space.)
| Constructor and Description |
|---|
StringConverter2()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canConvert(Class type)
Deprecated.
|
Object |
fromString(String str)
Deprecated.
|
public boolean canConvert(Class type)
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatchercanConvert in class com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverterCopyright © 2019. All rights reserved.