Internal processing of .class files on jvm

hi,I am really new to this topic.Can anyone explain me the actual internal processing of .class files on jvm.
[130 byte] By [sharvaria] at [2007-10-2 23:44:27]
# 1

Dear Friend

You must follow this link

http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html#80959

to get clear concept about .class file internals.

If U have good idea about Instruction set Architecture Or Assemble Programming then You will get special advantage through out this study.

Your New friend

Joydeep Adhikary

joydeepadhikarya at 2007-7-14 16:28:31 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2

Actually we are doing research project in 'Dynamic memory allocation & analysis'.

For that, we have downloaded jvm source code from java.sun.com,but still some errors are coming while producing makefile.

Our main emphasis is on garbage collection in jvm source code.We have to implement various gc algorithms in source code.

But,unless & until we don't know how .class file is processed on JVM,we can't predict output produced by JVM.

Our basic ideas of 'how processing is done by JVM' are not clear.

Can you please help us in this case.

Message was edited by:

sharvari

sharvaria at 2007-7-14 16:28:31 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 3

If you want to see where class files start in the JVM and you have the Mustang source code, you could start with src/share/vm/runtime/classFileParser.cpp.

If you want to see how the various garbage collectors work, you could start from src/share/vm/gc_interface/collectedHeap.hpp, and then find the various implemenations of CollectedHeap. But that will be a slog. It might be better if you asked questions, or read some of our JavaOne talks, or the whitepaper at http://java.sun.com/j2se/reference/whitepapers/memorymanagement_whitepaper.pdf, though that's probably too high level if you want to actually implement a new collector. What properties do you want your new collector to have?

You might want to start a project under https://jdk-research.dev.java.net/ for your work.

Peter.Kessler@Sun.COMa at 2007-7-14 16:28:31 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 4
Yes Friend http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html http://java.sun.com/docs/hotspot/index.htmlU should take help from these link to know more in detailsbest of Luck
joydeepadhikarya at 2007-7-14 16:28:31 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 5
hey shalari plz mail me on cool.gone@gmail.com i need have sum tips and i want to discuss with u . so plz contect on this mail.
coolstudenta at 2007-7-14 16:28:31 > top of Java-index,Java HotSpot Virtual Machine,Specifications...