HMCL-dev / HMCL-dev/HMCL

[Bug] 测试版在下载游戏/模组时,多线程忙等待导致所有 CPU 核心满载(16/16),系统完全卡死

Open
#6,152 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
10.1k
Forks
934
Avg merge
1d 5h
Merged PRs (30d)
82

Description

问题描述 | Bug Description

HMCL 测试版 v3.15.0.345 在正常点击下载游戏或模组后,启动器对应的 Java 进程(OpenJDK Platform binary)会瞬间吃满所有 CPU 核心,系统界面完全失去响应,只能长按电源键硬重启。

复现步骤:

打开 HMCL v3.15.0.345,停留在下载页面

点击下载任意游戏版本或模组

预期行为:
下载时 CPU 占用应在 5%-15%,系统保持流畅。

实际行为:
Java 进程进入多线程忙等待,所有 CPU 核心被完全占满(16/16),系统卡死。
HMCL 版本 | 3.15.0.345
CPU | AMD Ryzen 7 7435HS
显卡 | AMD Radeon RX 6600 LE
内存 | 32 GB DDR5 4800MHz
操作系统 | Windows 11 专业版 Build 26200.8457
Java 版本 | OpenJDK 21.0.2 (64-Bit)

启动器崩溃报告 / 启动器日志文件 | Launcher Crash Report / Launcher Log File

2026-05-30T13-56-00.log

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the freeze from the download page in HMCL v3.15.0.345 using the reported Windows and OpenJDK setup, then inspect the attached launcher log for the download-related activity. Trace the multithreaded download path to identify the busy-wait, and verify that downloading no longer saturates all CPU cores or makes the system unresponsive.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.