Repository navigation
[ISSUE #8160] Document bootstrap GC and memory diagnostics - #8248
Merged
Aias00 merged 1 commit intoOct 30, 2026
Merged
Conversation
Aias00
approved these changes
Oct 30, 2026
Aias00
left a comment
Contributor
There was a problem hiding this comment.
Reviewed the English/Chinese GC and memory diagnostic guides against the launchers, Bootstrap metrics configuration and issue #8160. Heap defaults, complete BOOT_JVM replacement semantics and metrics-source distinctions match the repository. Relative links, Markdown fences and shell syntax in all 6 shell blocks passed validation. No actionable finding. I did not rerun the author's JVM performance/JFR experiments or a full application build for this documentation change.
Checkstyle and a separate Apache RAT check passed locally. This review covers source and the stated targeted verification; full Docker integration/E2E suites were not run locally.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes #8160.
Bootstrap operators lacked a linked guide for distinguishing allocation pressure, retained heap, direct/native memory growth and latency unrelated to GC. Add English and Chinese diagnostic guides, linked from the container deployment guide, with JDK 17 commands, effective Docker/archive JVM defaults, complete
BOOT_JVMoverride semantics, writable/rotated diagnostic storage, NMT coverage, metrics-source distinctions, a symptom table and a repeatable workload matrix using the existing Divide gateway benchmark.Replace universal memory-sizing recommendations in the container guide with measured-budget guidance. Preserve runtime defaults and clearly label the issue author's historical JDK 21 observations and their measurement limits.
Validation and review:
Exercised
VM.version,VM.command_line,VM.flags,GC.heap_info, NMT summary/baseline/diff, the GC logging option and a complete 120-second JFR recording on OpenJDK 17.0.20/macOS x86_64 in an isolated allocating JVM;jfr summaryconfirmed the recording duration. This verifies command operation, not Bootstrap performance or container attach permissions.Checked both translations against the current launchers, Bootstrap metrics configuration, Prometheus exporter and existing benchmark scope.
Relative links, Markdown fences, YAML snippets and new-guide shell syntax pass validation.
JAVA_HOME=<jdk17> ./mvnw -B -ntp -N apache-rat:checkandgit diff --checkpass.Documentation only; no runtime source changes or full application build. Container smoke results are provided by CI.
Read the contribution guidelines.
Validate executable documentation examples.
Full-repository
./mvnw clean install -Dmaven.javadoc.skip=true(not run for documentation-only changes).