Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback, please email oracle-forums_moderators_us@oracle.com

How can I get HotSpot JVM source code or debuginfo?

User_68Y65Jul 19 2022 — edited Jul 19 2022

I'm debugging libjvm.so 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 libjvm.so?Or 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.

Comments
Post Details
Added on Jul 19 2022
1 comment
525 views