get object by hexadecimal address in jstack

Discussion in 'Java' started by xeon123 mailinglist, Aug 10, 2011.

  1. Hi,

    I use jstack PID command on my program in java and I got this output.

    Code (Text):

    "MapOutputCopier attempt_201108092223_0002_r_000013_1_0.2" prio=10 tid=0x00007f565c0b4000 nid=0x5f92 in Object.wait() [0x0000000041840000]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$MapOutputCopier.run(ReduceTask.java:1276)
    - locked <0x00007f5668a910c0> (a java.util.ArrayList)
     
    At one line, I've got " - locked <0x00007f5668a910c0> (a java.util.ArrayList)". I'd like to know what this hexadecimal address points to, to know which arraylist is . Is this possible?

    Thanks,
     
    xeon123 mailinglist, Aug 10, 2011
    #1
    1. Advertisements

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. Naresh Agarwal

    How to get address of a Java object?

    Naresh Agarwal, Aug 10, 2005, in forum: Java
    Replies:
    10
    Views:
    30,537
    Tor Iver Wilhelmsen
    Aug 14, 2005
  2. js
    Replies:
    2
    Views:
    1,652
  3. Replies:
    3
    Views:
    482
    Grizlyk
    Feb 10, 2007
  4. Slain
    Replies:
    1
    Views:
    362
    Victor Bazarov
    Dec 12, 2007
  5. bob the builder
    Replies:
    15
    Views:
    647
    Richard Herring
    Jan 24, 2008
  6. xeon123 mailinglist

    get object by hexadecimal address in jstack

    xeon123 mailinglist, Aug 10, 2011, in forum: Java
    Replies:
    0
    Views:
    373
    xeon123 mailinglist
    Aug 10, 2011
  7. SanCaziano
    Replies:
    1
    Views:
    180
    g4toloc0
    Feb 24, 2007
  8. Magnus Warker
    Replies:
    23
    Views:
    961
    Magnus Warker
    Sep 26, 2012
Loading...