------------------------------------------------------------------- Thu Jun 19 21:08:15 UTC 2025 - Anton Shvetz - Update to v2.2.2 * Changed + Publish release artifacts to Central Portal using OSSRH Staging API service. + Bump Checkstyle to 10.25.0. - Update to v2.2.1 * Changed + IntHashSet#retainAll(Collection) and IntHashSet#retainAll(IntHashSet) no longer change the capacity of the set. + Bump JUnit to 5.13.0. * Fixed + Infinite loop in IntHashSet when retainAll leaves collections with a power of two number of elements. - Update to v2.2.0 * Changed + Protect against numeric overflow when recording errors at the end of the large buffer. + CI: Use gradle/actions/setup-gradle action for caching Gradle dependencies. + CI: Enable JDK 24 GA build. + Bump Gradle to 8.14.1. + Bump Checkstyle to 10.24.0. + Bump ByteBuddy to 1.17.5. + Bump Shadow to 8.3.6. + Bump JUnit to 5.12.2. + Bump Mockito to 5.18.0. + Bump Guava TestLib to 33.4.8-jre. * Added + Add SystemUtil#isMac method. + Add tests for file mapping. ------------------------------------------------------------------- Thu Mar 27 15:12:28 UTC 2025 - Fridrich Strba - Fix build with both xmvn-mojo:javadoc and javadoc:aggregate ------------------------------------------------------------------- Wed Mar 5 16:11:04 UTC 2025 - Anton Shvetz - Update to v2.1.0 * Changed + Move get method declaration to the ReadablePosition class. (eb3b7d284d) + Bump Gradle to 8.13. + Bump Checkstyle to 10.21.3. + Bump ByteBuddy to 1.17.1. + Bump Shadow to 8.3.6. + Bump JUnit to 5.12.0. * Added + Add compareAndExchange methods to AtomicBuffer. (#334) + Add getAndAddPlain to AtomicCounter. (#328) + Add acquire/release methods to AtomicBuffer. (#314) + Add acquire/release methods to AtomicCounter. (#315) + Add acquire/release methods to Position. (#316) + Add plain methods to AtomicCounter. (#317) + Add opaque methods to AtomicCounter. (#319) + Add opaque methods to AtomicBuffer. (#313) + Add opaque methods to Position. (#324) + Add timestampRelease method to MarkFile. (#318) + Add different flavors of concurrent methods to StatusIndicator. (#323) * Fixed + CI: Fix crash logs upload on Windows + compress test data before upload. + Make UnsafeApi#arrayBaseOffset forwards compatible with JDK 25+ which changed the return type to long whereas we keep it as int. - Update to v2.0.1 * Changelog + [Java] Deprecated ThreadHints. (#312) + [Java] Adds a new convenience constructor to SleepingIdleStrategy. (#310) + [Java] Improved ordering/atomic doc in AtomicBuffer. (#309) + [Java] Upgrade to Mockito 5.15.2. + [Java] Upgrade to Checkstyle 10.21.1. + [CI] Add JDK 25-ea to the build matrix. - Update to v2.0.0 * Breaking changes + org.agrona.UnsafeAccess was removed. Use org.agrona.UnsafeApi instead. Note: --add-opens java.base/jdk.internal.misc=ALL-UNNAMED JVM option must be specified in order to use org.agrona.UnsafeApi. + org.agrona.concurrent.MemoryAccess was removed. Use either the equivalent APIs provided by org.agrona.UnsafeApi or java.lang.invoke.VarHandle. + org.agrona.concurrent.SigIntBarrier was removed. Use org.agrona.concurrent.ShutdownSignalBarrier instead. * Changelog + [Java] Added API to compute CRC-32C (org.agrona.checksum.Crc32c) and CRC-32 (org.agrona.checksum.Crc32) checksums. Note: Requires --add-opens java.base/java.util.zip=ALL-UNNAMED JVM option at run time in order to use these classes. + [Java] stop allocating on addAll / removeAll on ObjectHashSet. (#308) + [Java] Run Mockito as Agent, i.e. fix the following warning. + [Doc] Remove reference to java 8 (#304) + [Gradle] Disable auto detection of JVMs to force a specific JVM for test execution in CI. + [Gradle] Use Gradle's version catalog feature for declaring dependencies. + [Java] Add concurrent tests for getAndAdd and getAndSet operations. + [Java] Improve RingBuffer tests by reading one message at a time and minimizing the number of valid states. + [Java] Fail build on JavaDoc errors. + [Java] Use JUnit BOM. + [Java] Upgrade to Gradle 8.11.1. + [Java] Upgrade to Checkstyle 10.21.0. + [Java] Upgrade to ByteBuddy 1.15.11. + [Java] Upgrade to bnd 7.1.0. + [Java] Upgrade to Shadow 8.3.5. + [Java] Upgrade to JUnit 5.11.4. + [Java] Upgrade to Guava TestLib 33.4.0-jre. ------------------------------------------------------------------- Mon Oct 14 06:12:31 UTC 2024 - Anton Shvetz - Update to v1.23.1 * Breaking changes + [Java] Fix Object2IntHashMap#merge resizing the map while updating an existing key. ------------------------------------------------------------------- Tue Sep 3 13:32:30 UTC 2024 - Anton Shvetz - Update to v1.23.0 * 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) 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. ------------------------------------------------------------------- Thu Aug 1 23:32:51 UTC 2024 - Anton Shvetz - Update to v1.22.0 * [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. ------------------------------------------------------------------- Fri Jun 14 04:30:14 UTC 2024 - Anton Shvetz - Update to v1.21.2 * [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. ------------------------------------------------------------------- Tue Apr 2 03:14:56 UTC 2024 - Anton Shvetz - Update to v1.21.1 * [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. - Update to v1.21.0 * [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. ------------------------------------------------------------------- Tue Nov 28 21:30:33 UTC 2023 - Anton Shvetz - Update to v1.20.0 * 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. ------------------------------------------------------------------- Tue Sep 12 03:24:12 UTC 2023 - Anton Shvetz - Update to v1.19.2 * Add missing bounds check to AbstractMutableDirectBuffer#getInt(int, java.nio.ByteOrder) (#285) * Upgrade to ByteBuddy 1.14.7. - Update to v1.19.1 * 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. - Reproducible builds: use SOURCE_DATE_EPOCH for timestamp ------------------------------------------------------------------- Sun Aug 6 17:36:00 UTC 2023 - Anton Shvetz - Initial packaging with v1.19.0