Object Allocation on the Heap

Discussion in 'Java' started by EKL, Sep 29, 2003.

  1. EKL

    EKL Guest

    Hi,

    How do I check where in the program is object allocated from the heap? Can
    a profiler do this? If so, which one and how do I use it? Thanks.

    ekl
     
    EKL, Sep 29, 2003
    #1
    1. Advertising

  2. EKL () wrote:
    : How do I check where in the program is object allocated from the heap? Can
    : a profiler do this? If so, which one and how do I use it? Thanks.

    If I understand you correctly you want to know the method that
    allocated an object. That information is something that profilers can
    give you.

    Try one of:
    hprof, jmp, optimizeit(?), jprofiler(?), jprobe(?)
    Google for where to find them....

    /robo
     
    Robert Olofsson, Sep 30, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Paul K.
    Replies:
    2
    Views:
    302
  2. Michal Slocinski

    Heap dump file size vs heap size

    Michal Slocinski, Mar 25, 2008, in forum: Java
    Replies:
    1
    Views:
    738
    GArlington
    Mar 25, 2008
  3. viki
    Replies:
    6
    Views:
    565
    Erik Wikström
    Jun 28, 2008
  4. Raymond Schanks
    Replies:
    0
    Views:
    533
    Raymond Schanks
    Apr 11, 2010
  5. Bjarke Hammersholt Roune
    Replies:
    14
    Views:
    1,191
    Bjarke Hammersholt Roune
    Mar 6, 2011
Loading...

Share This Page