Skip to main content

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

3 replies [Last post]
Joined: 2010-01-12

In Short:
Where can I find the source code to a particular JVM.DLL revision?

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
Java(TM) 6 Update 11 6.0.110
Java(TM) 6 Update 2
Java(TM) 6 Update 3
Java(TM) 6 Update 5

Which one of these is related to JVM.DLL and where can I find the source code for that version? I've downloaded a number of JDK's 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

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2010-01-12

I was incorrect when I said that the JVM version was one of the ones listed by our software. While digging around in the crash dump, I found this string:


and this:

1.3.1_13 Built on Aug 18 by "java_re" with MS VC++ 6.0.HotSpot JVM

So, anyone know where I can find the 1.3.1_13 sources?

Joined: 2010-01-12

I tried going there and posting the question. The question appears to have dropped into a black hole and has not been propagated out.

Joined: 2006-07-24

You might want to ask that question on the mailing list [1].