转载

Quasar 0.7.2 发布,Java 轻量级线程库

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 。

正文到此结束
Loading...