Skip to content

主动修剪堆内存 - #6715

Merged
Glavo merged 8 commits into
HMCL-dev:mainfrom
Glavo:gc
Aug 21, 2026
Merged

主动修剪堆内存#6715
Glavo merged 8 commits into
HMCL-dev:mainfrom
Glavo:gc

Conversation

@Glavo

@Glavo Glavo commented Aug 21, 2026

Copy link
Copy Markdown
Member

本 PR 尝试通过一些策略,让 HMCL 更积极的触发 GC,修剪堆内存,从而减少系统内存占用。

@github-actions github-actions Bot added the 1+ label Aug 21, 2026
@github-actions github-actions Bot added 10+ and removed 1+ labels Aug 21, 2026
@Glavo Glavo changed the title 默认启用 G1 GC 定时回收 主动修剪堆内存 Aug 21, 2026
@Glavo

Glavo commented Aug 21, 2026

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 83d0cf9e3a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread HMCL/src/main/java/org/jackhuang/hmcl/ui/construct/TaskExecutorDialogPane.java Outdated
Comment thread HMCL/src/main/java/org/jackhuang/hmcl/ui/decorator/Decorator.java Outdated
@Glavo
Glavo marked this pull request as ready for review August 21, 2026 12:13
@Glavo
Glavo merged commit c958519 into HMCL-dev:main Aug 21, 2026
3 checks passed
@Glavo
Glavo deleted the gc branch August 21, 2026 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant