Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Where can I find JVM.dll's source code?

843829Jan 13 2010 — edited Jan 19 2010
In Short:
Where can I find the source code to a particular JVM.DLL revision?

Details:
I'm working on a bug that seems to be related to code in JVM.DLL It looks like the JVM is trying to make use of a thread pointer to a virtual DOS machine (VDM) but because it is a NULL pointer, bad things happen. I think that the JVM is trying to make use of TEB->VDM because I disassembled the customer's crash dump in WinDbg and can see JVM code getting fs:[0x18] (the linear address of a thread execution block) and then the code adds 0xf18 to that. The value at this location is supposed to be a thread's VDM. A VDM is normally assumed to be a virtual DOS machine. Does the JVM normally store its own virtual machine pointer here? In any case, our diagnostics say that the following modules are installed:

J2SE Runtime Environment 5.0 Update 6 1.5.0.60
Java(TM) 6 Update 11 6.0.110
Java(TM) 6 Update 2 1.6.0.20
Java(TM) 6 Update 3 1.6.0.30
Java(TM) 6 Update 5 1.6.0.50

Which one of these is related to JVM.DLL and where can I find the source code for that version? I've downloaded jdk-1_5_0_03-fcs-src-b07-jrl-24_may_2005.jar through jdk-1_5_0_16-fcs-src-b02-jrl-28_may_2008 but the crash dump I'm working from can't be made to agree with the C++ source of any of them so I guess I haven't found the right source code yet Any suggestions on where I might find the source code that corresponds to the above list of possible revisions would be greatly appreciated.
===
Richard Lewis Haggard
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 16 2010
Added on Jan 13 2010
2 comments
833 views