I'm trying to understand better how jvm works, and I was trying to find the main function that really interested me - the JNI_CreateJavaVM
function. I wonder how it parses java bytecode, but I can't find where's the function defined anywhere.
I searched in github repository but I can't find it anywhere, there's so much folders. I'm pretty sure it's somewhere in hotspot though.
I'd look at openjdk on Github first and search for this function. Depending on the platform you're interested in, you'll find the right implementation. This would be the Windows implementation.