This discussion is archived
3 Replies Latest reply: Jan 24, 2013 3:56 AM by gimbal2 RSS

JVM tutorials

Bob Explorer
Currently Being Moderated
Hi Experts,

I am new to JVM and want to learn Jrockit and Sun JDK.
i tried searching over net but could not find where to start.

Please guide me with some good article for basic concepts and then JVM tuning.
My profile is weblogic Administrator.

TIA,
Bob
  • 1. Re: JVM tutorials
    gimbal2 Guru
    Currently Being Moderated
    You should start by researching what common performance bottlenecks are. You're not going to find generic tuning documents as tuning is always bound to a specific context. You'd configure the JVM completely differently if it were to run local games or to support a JEE application server for example.

    Garbage collection is a popular target: http://www.oracle.com/technetwork/java/gc-tuning-5-138395.html

    To gain a deeper understanding of how the thing ticks there is the VM specification: http://docs.oracle.com/javase/specs/jvms/se7/html/index.html

    And you might want to research the different Java switches available. http://docs.oracle.com/javase/7/docs/technotes/guides/vm/index.html

    And yes: this is going to take time. Its tough material.
  • 2. Re: JVM tutorials
    Bob Explorer
    Currently Being Moderated
    Thanks a lot gimbal. Now i can start with this topic.
    I am prepared to give time and hope this will be fun.

    Meanwhile are there any specific documents available for Jrockit and Sun Hot Spot JVM, as i understand both have their own advantage and disadvantages.
  • 3. Re: JVM tutorials
    gimbal2 Guru
    Currently Being Moderated
    Bob wrote:
    Thanks a lot gimbal. Now i can start with this topic.
    I am prepared to give time and hope this will be fun.
    its very dry, I wouldn't get your hopes up
    Meanwhile are there any specific documents available for Jrockit and Sun Hot Spot JVM, as i understand both have their own advantage and disadvantages.
    The above are all for hotspot which is basically the standard JVM. Jrocket is a totally different beast, but a quick Google for "jrockit" provided its product page and guess what:

    http://docs.oracle.com/cd/E15289_01/doc.40/e15060/toc.htm

    Not so hard to find really - in fact it was dead easy, 5 seconds of work. Given that fact, I have lost interest in conversing with you because I now no longer can believe that "i tried searching over net but could not find where to start." comment you made.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points