Skip to content

Releases: real-logic/agrona

1.23.1

01 Oct 13:03
Compare
Choose a tag to compare
  • [Java] Fix Object2IntHashMap#merge resizing the map while updating an existing key.

1.23.0 (JDK 17 migration)

23 Aug 20:21
Compare
Choose a tag to compare

Breaking changes

  • JDK 17 is required for compiling and running!
  • Removed NioSelectedKeySet and the corresponding TransportPoller.selectedKeySet field.
  • Removed MappedResizeableBuffer class to avoid having to open an internal JDK module (i.e. --add-opens java.base/sun.nio.ch=ALL-UNNAMED).
  • Removed RecordBuffer class.

Changelog

  • [Java] Improved documentation for the BackoffIdleStrategy. #297
  • [Java] Resolve pid using ProcessHandle.current().pid().
  • [Java] Use Thread.onSpinWait().
  • [Java] Use invokeCleaner without MethodHandles.
  • [Java] Remove Selector hacks in favor of the new java.nio.channels.Selector.selectNow(Consumer<SelectionKey>) API.
  • [Java] Upgrade to Gradle 8.10.
  • [Java] Upgrade to ByteBuddy 1.15.0.
  • [Java] Upgrade to Shadow 8.3.0.
  • [Java] Upgrade to bnd 7.0.0.
  • [Java] Upgrade to Mockito 5.12.0.

1.22.0

01 Aug 16:20
01978e3
Compare
Choose a tag to compare
  • [Java] Improve performance of IntHashSet via avoiding the fill operation by using 0 as MISSING_VALUE.
  • [Java] Restore thread safety by overriding missing mutating operations in ConcurrentCountersManager.
  • [Java] Remove volatile read for FREE_FOR_REUSE_DEADLINE_OFFSET in CountersManager.
  • [Java] Upgrade to ByteBuddy 1.14.18.
  • [Java] Upgrade to Guava TestLib 33.2.1-jre.
  • [Java] Upgrade to JUnit 5.10.3.

1.21.2

04 Jun 11:01
5915ae7
Compare
Choose a tag to compare
  • [Java] Fix {Int,Long}2ObjectCache. (#294)
  • [Java] ErrorLogReader: Do not crash when reading partial or corrupted error messages. Attempt to recover last error message when length is out of bounds.
  • [Java] SnowflakeIdGenerator: Increment sequence if the clock is not advancing or going backwards.
  • [Java] Fix build on JDK 23-ea caused by deprecation in Unsafe, i.e. https://openjdk.org/jeps/471.
  • [CI] Split the build into slow and fast, i.e. run concurrency tests only during slow build.
  • [Java] Upgrade to ByteBuddy 1.14.17.
  • [Java] Upgrade to Guava TestLib 33.2.0-jre.

1.21.1

29 Mar 16:26
Compare
Choose a tag to compare
  • [Java] Fix Javadoc copyright year range.
  • [Java] Fix JDK 22 javadoc URL.
  • [CI] Enable JDK 23-ea build.
  • [Java] Upgrade to ASM 9.7.
  • [Java] Upgrade to ByteBuddy 1.14.13.

1.21.0

14 Mar 10:54
Compare
Choose a tag to compare
  • [Java] Use -XX:+EnableDynamicAgentLoading on JDK 21+.
  • [CI] Add Mac M1 to the build matrix.
  • [CI] Build PRs against merge commit.
  • [CI] Action updates.
  • [Java] Upgrade to JUnit 5.10.2.
  • [Java] Upgrade to Versions 0.51.0.
  • [Java] Upgrade to ByteBuddy 1.14.12.
  • [Java] Upgrade to Guava TestLib 33.1.0-jre.

1.20.0

02 Nov 10:31
Compare
Choose a tag to compare
  • Add Reference ID, a new metadata field, to counters in the value padding.
  • Suppress warnings about Unsafe APIs being deprecated for removal in JDK 22.
  • Enable dynamic agent loading on JDK 22 + run ByteBuddy in the experimental mode.
  • CI: Use JDK 21 GA, drop JDK 11, and add JDK 22-ea.
  • Fix JavaDoc link for JDK 21 GA.
  • Move bnd into bundle section to make it forward compatible with the next major version of the plugin.
  • Upgrade to ByteBuddy 1.14.9.
  • Upgrade to Guava TestLib 32.1.3-jre.
  • Upgrade to ASM 9.6.
  • Upgrade to Versions 0.49.0.

1.19.2

01 Sep 14:55
Compare
Choose a tag to compare
  • Add missing bounds check to AbstractMutableDirectBuffer#getInt(int, java.nio.ByteOrder) (#285)
  • Upgrade to ByteBuddy 1.14.7.

1.19.1

09 Aug 15:57
Compare
Choose a tag to compare
  • Fix NPE in SigInt.java (#283)
  • Upgrade to JMH 1.37.
  • Upgrade to Guava TestLib 32.1.2-jre.
  • Upgrade to JUnit 5.10.0.

1.19.0

18 Jul 22:13
Compare
Choose a tag to compare
  • Update BiInt2ObjectMap to support null values and add methods to get close to feature parity with Java 8 collections.
  • Restore the original behavior around the signal handling by not delegating to the previously registered handler.
  • Add MarkFile method to handle the creation of link files.
  • Upgrade Versions to 0.47.0
  • Upgrade Guava to 32.1.1-jre
  • Update ByteBuddy to 1.14.5