Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Memory Analyzer » Locate Sockets(How to locate sockets)
Locate Sockets [message #1850976] Wed, 23 March 2022 18:41 Go to next message
Paul Arbour is currently offline Paul ArbourFriend
Messages: 1
Registered: March 2022
Junior Member
I'm trying to learn how to use the memory analyzer and right now I need to figure out what threads are linked to which sockets.
Is there a way to do this from a query?
Re: Locate Sockets [message #1851018 is a reply to message #1850976] Thu, 24 March 2022 15:39 Go to previous message
Andrew Johnson is currently offline Andrew JohnsonFriend
Messages: 205
Registered: July 2009
Senior Member
Perhaps a command such as
merge_shortest_paths  java.net.Socket
could help.

Class Name                                                              | Referenced Objects | Shallow Heap | Ref. Shallow Heap | Retained Heap
------------------------------------------------------------------------------------------------------------------------------------------------
java.lang.Thread @ 0x22f37b28  RMI TCP Connection(2)-10.18.108.90 Thread|                  1 |          104 |                24 |        18,248
'- <Java Local> sun.rmi.transport.tcp.TCPConnection @ 0x22f37cf0        |                  1 |           48 |                24 |            48
   '- socket java.net.Socket @ 0x22f27558                               |                  1 |           24 |                24 |            32
java.lang.Thread @ 0x22f378e8  RMI TCP Connection(3)-10.18.108.90 Thread|                  1 |          104 |                24 |        22,592
'- <Java Local> sun.rmi.transport.tcp.TCPConnection @ 0x22f37950        |                  1 |           48 |                24 |            48
   '- socket java.net.Socket @ 0x22f3a6e0                               |                  1 |           24 |                24 |            32
java.lang.Thread @ 0x22f22418  RMI TCP Connection(1)-10.18.108.90 Thread|                  1 |          104 |                24 |        18,280
'- <Java Local> java.net.SocketInputStream @ 0x22f22480                 |                  1 |           32 |                24 |            32
   '- socket java.net.Socket @ 0x22f033c0                               |                  1 |           24 |                24 |            32
java.lang.Thread @ 0x22f01458  RMI TCP Accept-0 Thread                  |                  1 |          104 |                24 |           352
'- <Java Local> java.net.Socket @ 0x22f48810                            |                  1 |           24 |                24 |            32
java.lang.Thread @ 0x22f46518  RMI TCP Connection(4)-10.18.108.90 Thread|                  1 |          104 |                24 |        18,248
'- <Java Local> java.net.SocketInputStream @ 0x22f46580                 |                  1 |           32 |                24 |            32
   '- socket java.net.Socket @ 0x22f397f0                               |                  1 |           24 |                24 |            32
java.lang.Thread @ 0x22f461d8  RMI TCP Connection(5)-10.18.108.90 Thread|                  1 |          104 |                24 |        20,976
'- <Java Local> sun.rmi.transport.tcp.TCPConnection @ 0x22f46340        |                  1 |           48 |                24 |            48
   '- socket java.net.Socket @ 0x22f49e88                               |                  1 |           24 |                24 |            32
------------------------------------------------------------------------------------------------------------------------------------------------

Previous Topic:QuerySpec collapsed
Next Topic:Constantly asking to download index.html
Goto Forum:
  


Current Time: Thu Mar 28 17:38:15 GMT 2024

Powered by FUDForum. Page generated in 0.08543 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top