高性能 Java 序列化器,Kryo 3.0.1 發布

jopen 9年前發布 | 7K 次閱讀 Kryo

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)


 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!