Guides#52English
for spark

for spark

Spark is a tool for testing game performance, identifying performance bottlenecks and stuttering. When you encounter issues like game lag or high latency, you can use Spark.

After version 0.5.3, spark has been deleted from the gto package.

If you encounter game lag, abnormal low TPS/high MSPT/excessive CPU or memory usage, you can manually install Spark for testing:

Quick command: /gtocore spark (If spark is not installed, it is invalid)

Note that,

used by sparkasync-profiler is incompatible with some linux kernels

The closest spark issues are these two:

#512 Crash using spark-1.10.53 (Forge) on Alpine 3.18 with openjdk21-jre-headless This is Forge + 1.20.1 + spark 1.10.53 + JDK 21 under direct native crash. Although the other side is Alpine/aarch64, not your Debian/amd64, but the nature is the same, both are spark 's native profiler directly crashes in the host environment.

#535 Spark 1.20.1 Forge-47.4.10 (spark version 1.10.53) incompatible with Java 25 This is Forge 1.20.1 + spark 1.10.53 + Java 25 incompatible, consistent with your previous stage phenomenon.

Additionally:

#546 Spark 1.20.1 Profiler doesn't work

#557 Disable spark profiler on linux

#560 Could not find VMThread bridge. Unsupported JVM?

So at least two points can be confirmed:

This is not a strange phenomenon unique to you spark 1.10.53 on 1.20.1, Forge, Linux, different JDK combinations, indeed someone has reported profiler-related crashes/unavailable issues.

Your problem here is not just Java 25 You have already tested:

JDK 25 will crash

JDK 21 still crashes. So now it's more like spark 1.10.53 's native profiler is incompatible with the combination of your Linux container environment, not just the Java major version issue.

I also looked at async-profiler upstream releases:

v4.2

v4.3

Here we can see some very relevant fix directions:

v4.2: Re-implement SafeAccess crash protection

v4.3: Harden crash protection in StackWalker

v4.3: Support compilation on modern JDKs

v4.3: Workaround for the kernel PERF_EVENT_IOC_REFRESH bug

v4.3: Fix races related to VM termination

Contributors

Comments

0