GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Trim the bundled JRE: drop java.desktop, jdk.jfr, java.compiler and strip native libraries (-13 MB per wheel) by tae898 · Pull Request #452 · humemai/arcadedb-embedded-python
This repository was archived by the owner on Nov 21, 2026. It is now read-only.
ConversationCloses #447. The wheel's bundled jlink runtime no longer carries Size after each step, Linux x86_64 runtime (deflated, as in the wheel): baseline 40.9 MB, with jdeps findings over the 62 shipped jars the build analyses, then checked on the constant pools of every shipped class (multi-release entries included):
Gate, linux/amd64 wheel built with Docs: the module exclusion and the strip are in 🤖 Generated with Claude Code
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions…trip native libraries jdeps names java.desktop, jdk.jfr and java.compiler because of optional users (JTS awt, Jackson and snakeyaml java.beans, an unused JFR reporter, agrona's code generator), so the jlink runtime carried about 13 MB that no code path of the wheel reaches. scripts/jre_module_exclusions.txt now lists the modules to keep out. Dockerfile.build and build-native.sh remove them from the jdeps answer before jlink and fail the build when one is still in `java --list-modules` afterwards. The Linux build also strips the runtime's .so files. tests/test_jar_closure.py reads the class files of the shipped jars against the packages of the running runtime and fails when a class names a package of a removed module unless the reference is listed with a reason; it also checks that the runtime lacks the modules and runs Jackson and the YAML mapper on it. Linux x86_64 wheel: 80.8 MB to 67.7 MB. Closes #447. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Uh oh!
There was an error while loading. Please reload this page.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
ReviewersNo reviewsUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Trim the bundled JRE: drop java.desktop, jdk.jfr, java.compiler and strip native libraries (-13 MB per wheel)Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |