memory - Where does the jvm load the compiled java code? -
after compilation of business logic, .class file generated in our hard drive. doubt is, when execute compiled code, has loaded somewhere. location?!
the .class
file includes instructions hardware , os. .class
file loaded jvm memory (ram) before execution of program , being handled there.
compiled code executed java virtual machine represented using hardware- , operating system-independent binary format, typically (but not necessarily) stored in file, known class file format. class file format precisely defines representation of class or interface, including details such byte ordering might taken granted in platform-specific object file format.
taken from: chapter 2. structure of java virtual machine
Comments
Post a Comment