Skip to Main Content

Java HotSpot Virtual Machine


For appeals, questions and feedback, please email

How can I get HotSpot JVM source code or debuginfo?

User_68Y65Jul 19 2022 — edited Jul 19 2022

I'm debugging code with gdb.I've downloaded gcore dump from production machine,and use the same jvm version to debug it.I found the problem thread and frame,but the jvm env does not have debug info,so I cannot see the args with correct symbol.How can I get the debuginfo with can I get the exactly version source code and compile it to generate debuginfo?
My java version is
java version "1.8.0_51"
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode).
I've tried open jdk version(hs25-b03),it doesn't work.

Post Details
Added on Jul 19 2022
1 comment