dangdangdotcom / dubbox

Dubbox now means Dubbo eXtensions, and it adds features like RESTful remoting, Kyro/FST serialization, etc to the Dubbo service framework.
http://dangdangdotcom.github.io/dubbox
Apache License 2.0
4.89k stars 2.06k forks source link

配置了SerializationOptimizerImpl还是no zero-arg #344

Closed gMan1990 closed 5 years ago

gMan1990 commented 7 years ago
    public Collection<Class> getSerializableClasses() {
        if (null == serializableClasses) {
            LinkedList<Class> temp = new LinkedList<>();
            temp.add(StackTraceElement.class);
            serializableClasses = temp;
        }
        return serializableClasses;
    }

class java.lang.StackTraceElement has no zero-arg constructor and this will affect the serialization performance