高性能 Java 序列化器,Kryo 3.0.1 發布
Kryo 是一個快速高效的Java對象圖形序列化框架,主要特點是性能、高效和易用。該項目用來序列化對象到文件、數據庫或者網絡。
Kryo 3.0.1 在 3月24日發布了,改進記錄包括:
-
Update reflectasm to 1.10.1 with java 8 support (a2c0699)
-
Warning about use when references are enabled. (7e67a1f)
-
Fix #286 CompatibleFieldSerializer fails with IndexOutOfBoundsException on field removal: Add compatible option for VersionFieldSerializer (907c58b)
-
Removed auto registration of Java8 closures. (1c5562d)
-
Changed to no longer use StdInstantiatorStrategy by default. (bfc02be)
-
Add VersionFieldSerializer (#274)
-
Kryo would previously throw an error when you tried used a serializer with removed fields where the class contained a generic, and you removed a field on that generic. (d54a59c)
-
Fix #265. Don't invoke getTypeParameters and getComponentType on each call of setGenerics(). Pre-compute and cache them instead whenever it is possible. (143c097)