Java 輕量級線程庫,Quasar 0.7.2 發布

jopen 9年前發布 | 17K 次閱讀 Quasar

Quasar 是一個 Java 庫,提供了高性能、輕量級的線程,類似 Go 語言的 Channel,Erlang 語言的 Actor 和其他異步編程工具。

Quasar 0.7.2 發布,更新內容如下:

新特性

  • A fully TCK-compliant Reactive Streams implementation based on Quasar Channels in the quasar-reactive-streams module

改進

  • Instrumentation optimisation has been introduced: methods that don't need instrumentation will be left untouched and this improves performance

  • Instrumentation verification is more precise, it checks call sites (see #86) and it prints extended stack trace information on HotSpot JRE 8; in addition it works even without verification enabled (and without performance penalty) when an uncaught exception is thrown in a fiber

  • Improved JDK8-optimised build, no duplicate classes anymore (see #91)

  • Minor channels improvements and fixes

  • Kotlin upgraded to 0.12.613(post-M12) and several other dependencies upgrade

  • The @Suspendable annotation is now supported on individual interface methods rather than just on the whole interface

更多改進請看這里,下載:https://github.com/puniverse/quasar/archive/v0.7.2.zip

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