visualvm icon indicating copy to clipboard operation
visualvm copied to clipboard

Profiling gives "Redefinition failed with error 62"

Open DarkShadow44 opened this issue 4 months ago • 6 comments

Describe the bug When using the VisualVM CPU profiler on Minecraft, I get various messages like

Error
Redefinition failed with error 62
Check JVMTI documentation for this error code.

To Reproduce Steps to reproduce the behavior: Start Minecraft Attach VisualVM Start CPU Profiler on some Minecraft classes

Expected behavior No error. Or, ssince the error doesn't seem to have big effects, an option to just ignore it. The constant popups are extremly annoying though.

VisualVM log

visualvm.log

Desktop (please complete the following information): Arch Linux JVM: OpenJDK 64-Bit Server VM (21.0.8+9-b1038.68, mixed mode, sharing) Java: version 21.0.8 2025-07-15, vendor JetBrains s.r.o. Java Home: /home/fabian/.gradle/jdks/jetbrains_s_r_o_-21-amd64-linux.2

DarkShadow44 avatar Sep 06 '25 19:09 DarkShadow44