zstd-jni 16 KB page-size fix: upgrade to 1.5.7-3
Artifact com.github.luben:zstd-jni · Maintained by hermonLabs · last measured 1 Oct 2026 · methodology · all libraries
fixed
zstd-jni versions up to and including 1.5.7-2 that we measured ship 4 KB-aligned native libraries (offending for Google Play's 16 KB page-size requirement). The first measured aligned stable version is 1.5.7-3; the newest measured, 1.5.7-20, is aligned (16 KB).
15of 28 measured versions with native code ship 4 KB-aligned libraries
1.5.7-2: p_align = 4 KB (4096)1.5.7-3: p_align = 16 KB (16384)Thin lines: 4 KB cells. Heavy lines: 16 KB page boundaries.
Per-major-line fixes
Different major versions have separate fix paths:
1.x: upgrade to1.5.7-3
How the verdict was reached
In version order, the 41 measured versions of com.github.luben:zstd-jni run as 5 stretches: com.github.luben:zstd-jni:0.4.3 to 1.0.0 without an arm64-v8a/x86_64 .so (9 measured); then com.github.luben:zstd-jni:1.2.0 aligned (16 KB) (1 measured); then com.github.luben:zstd-jni:1.2.0-1 to 1.3.4-7 without an arm64-v8a/x86_64 .so (4 measured); then com.github.luben:zstd-jni:1.3.5-3 to 1.5.7-2 offending (4 KB-aligned) (15 measured); then com.github.luben:zstd-jni:1.5.7-3 to 1.5.7-20 aligned (16 KB) (12 measured). Versions are ordered by number, not by publish date, because backports are released after newer lines.
The boundary is exact: 1.5.7-3 is the very next published version after the last offending 1.5.7-2.
By repository file date, the last offending file (1.5.7-2) is from 2025-03-17 and the first aligned file (1.5.7-3) is from 2025-05-03, a gap of 47 days. Both dates are file times, not vendor release announcements.
Measured files by the year of their repository date:
- 2015: 3 without an arm64-v8a/x86_64 .so
- 2016: 6 without an arm64-v8a/x86_64 .so
- 2017: 2 without an arm64-v8a/x86_64 .so, 1 aligned (16 KB)
- 2018: 2 without an arm64-v8a/x86_64 .so, 1 offending (4 KB-aligned)
- 2019: 3 offending (4 KB-aligned)
- 2020: 3 offending (4 KB-aligned)
- 2021: 3 offending (4 KB-aligned)
- 2023: 2 offending (4 KB-aligned)
- 2024: 1 offending (4 KB-aligned)
- 2025: 3 aligned (16 KB), 2 offending (4 KB-aligned)
- 2026: 9 aligned (16 KB)
The offending versions fail on x86_64; Google's rule covers the 64-bit ABIs, so those are the two libraries the verdict reads.
Every version measured
41 of 159 published versions of com.github.luben:zstd-jni were downloaded and read: 15 offending, 13 aligned, 13 with no arm64-v8a/x86_64 .so. Measured files date from 2015-12-08 to 2026-09-24. Newest first. Each version links to the file measured.
- Non-monotone history. An aligned stable release exists before a later offending one (parallel release lines or backports). A higher version number does not guarantee alignment: pick your exact version and measure it. The version below is only the lowest aligned stable version above the highest offending one.
- NON-MONOTONE: an aligned release can be followed by an offending one; do not assume newer is safe. Per-release-line guidance: 1.x -> use measured aligned 1.5.7-3 (after offending 1.5.7-2). Re-run the checker on the version you resolve
- ARCHITECTURE-SPECIFIC: the last offending measurement 1.5.7-2 is x86_64-only; its arm64-v8a libraries are aligned
Measured evidence
4 KBp_align 4096 = 2^12
- verdict
- below the 16 KB requirement
- library file
jni/x86_64/libzstd-jni-1.5.7-2.so- file date
- Mon, 17 Mar 2025 05:00:22 GMT
- source
- artifact
16 KBp_align 16384 = 2^14
- verdict
- exactly the 16 KB requirement
- library file
jni/arm64-v8a/libzstd-jni-1.5.7-3.so- file date
- Sat, 03 May 2025 14:19:56 GMT
- source
- artifact
Native libraries inside the artifact
The newest measured version with native code is 1.5.7-20; the last offending one is 1.5.7-2. It ships 2 native libraries per ABI: libzstd-jni-1.5.7-2.so, libzstd-jni-1.5.7-20.so. The verdict is the lowest p_align among them.
Lowest p_align of each native library file across the measured versions (in version order):
libzstd-jni-1.4.9-3.so: 4 KB (offending) incom.github.luben:zstd-jni:1.4.9-4(1 version)libzstd-jni-1.5.1-1.so: 4 KB (offending) incom.github.luben:zstd-jni:1.5.1-1(1 version)libzstd-jni-1.5.4-2.so: 4 KB (offending) incom.github.luben:zstd-jni:1.5.4-2(1 version)libzstd-jni-1.5.5-7.so: 4 KB (offending) incom.github.luben:zstd-jni:1.5.5-7(1 version)libzstd-jni-1.5.6-3.so: 4 KB (offending) incom.github.luben:zstd-jni:1.5.6-3(1 version)libzstd-jni-1.5.6-9.so: 4 KB (offending) incom.github.luben:zstd-jni:1.5.6-9(1 version)libzstd-jni-1.5.7-13.so: 16 KB (16 KB-compatible) incom.github.luben:zstd-jni:1.5.7-13to1.5.7-14(2 versions)libzstd-jni-1.5.7-15.so: 16 KB (16 KB-compatible) incom.github.luben:zstd-jni:1.5.7-15(1 version)libzstd-jni-1.5.7-16.so: 16 KB (16 KB-compatible) incom.github.luben:zstd-jni:1.5.7-16(1 version)libzstd-jni-1.5.7-17.so: 16 KB (16 KB-compatible) incom.github.luben:zstd-jni:1.5.7-17(1 version)libzstd-jni-1.5.7-18.so: 16 KB (16 KB-compatible) incom.github.luben:zstd-jni:1.5.7-18(1 version)libzstd-jni-1.5.7-19.so: 16 KB (16 KB-compatible) incom.github.luben:zstd-jni:1.5.7-19(1 version)
8 more library files not listed.
| Library file | ABI | p_align @ 1.5.7-2 | p_align @ 1.5.7-20 |
|---|---|---|---|
libzstd-jni-1.5.7-2.so | arm64-v8a | 64 KB | – |
libzstd-jni-1.5.7-2.so | x86_64 | 4 KB | – |
libzstd-jni-1.5.7-20.so | arm64-v8a | – | 16 KB |
libzstd-jni-1.5.7-20.so | x86_64 | – | 16 KB |
The Gradle change
implementation("com.github.luben:zstd-jni:1.5.7-2")implementation("com.github.luben:zstd-jni:1.5.7-3")an aligned version, lowest measured above the last offending one; newer measured versions are aligned too (latest 1.5.7-20). Check: ./gradlew :app:dependencyInsight --dependency zstd-jni --configuration releaseRuntimeClasspath // NON-MONOTONE: an aligned release can be followed by an offending one; do not assume newer is safe. Per-release-line guidance: 1.x -> use measured aligned 1.5.7-3 (after offending 1.5.7-2). Re-run the checker on the version you resolve // ARCHITECTURE-SPECIFIC: the last offending measurement 1.5.7-2 is x86_64-only; its arm64-v8a libraries are aligned
Method and sources
Measured from the published files in repo1.maven.org/maven2/com/github/luben/zstd-jni/. How the verdicts are derived and what they do not cover: methodology. Google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.2, 1.1.1, 1.1.0, 0.8.0, 0.7.4, 0.7.3, 0.7.2, 0.7.1, 0.7.0.
Related artifacts
- ARCorecom.google.ar:core17 of 36 measured versions offending · fixed
- Agora special fullio.agora.rtc:agora-special-full36 of 61 measured versions offending · fixed
- Agora full-rtc-basicio.agora.rtc:full-rtc-basic23 of 34 measured versions offending · fixed
- Agora RTC full-sdkio.agora.rtc:full-sdk27 of 28 measured versions offending · fixed
- Agora RTM sdkio.agora.rtm:rtm-sdk20 of 23 measured versions offending · fixed
See also the Play 16 KB warning, per stack · deadlines · check all your dependencies. Want every library offline? The kit ($12), 14-day refund.