(40 pts)You should have installed your JVM by now and are
ready to explore it. Each JVM has its object layout, ways to
interpret and execute programs written in the language it
supports and a memory management toolkit to handle memory
management for programs written in that language.
- Explore the JVM you installed on your system and
describe its object layout.
- Be careful to list some of the fields, include
meta-data fields, that each instance of an object in
that language contains.
- Describe the function/purpose of at least two
meta-data fields.
- What specific instructions do I enter at the prompt to
interpret a Java program, say testProgram.java?
- What instructions do I enter to run it?
- Explore the memory management toolkit of your JVM and
answer the following questions:
- What is the default garbage collector implemented in
the JVM? Are there other garbage collectors? List them.
- Describe the framework in which the garbage
collectors are implemented.
- How easy or difficult is it to run your programs,
selecting a different garbage collector? Explain.
- How does one add a new garbage collector to the
memory management toolkit?