Results 1 to 2 of 2

Thread: Objects in JVM

  1. #1
    mohtashims is offline Member
    Join Date
    Aug 2012
    Rep Power

    Question Objects in JVM

    Eden space is within the young generation space. Also there is old generation space. Then there is stack memory, survivor space 1 and 2. Then there is PermGen space and Pure Native area.

    I was asked to write a java program preferable a web code to demonstrate when the object is stored in each of these JVM memory[eden, young, old, permgenspace, native, survivor] and when would it be destroyed and how the object moves about in these spaces.

    Can someone please showcase ?

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

    Default Re: Objects in JVM

    Cross posted
    Object in JVM - memory allocation (Performance forum at JavaRanch)

    Read your texts and do your own homework.

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Replies: 12
    Last Post: 04-29-2012, 02:55 PM
  2. How to map 2 different objects together?
    By einnhann in forum New To Java
    Replies: 5
    Last Post: 12-22-2009, 09:42 AM
  3. Objects
    By Silverlining in forum New To Java
    Replies: 3
    Last Post: 11-11-2009, 02:36 PM
  4. Replies: 1
    Last Post: 01-22-2009, 04:25 PM
  5. how many objects ?
    By kevinsong in forum Advanced Java
    Replies: 16
    Last Post: 07-16-2008, 05:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts