Description

One instance of org.jivesoftware.openfire.LocalSessionManager loaded by org.jivesoftware.openfire.starter.JiveClassLoader @ 0x7f20f400cb78 occupies 35,172,162,568 (94.15%) bytes. The memory is accumulated in one instance of java.util.concurrent.ConcurrentHashMap$Node[], loaded by <system class loader>, which occupies 35,172,162,024 (94.15%) bytes.

Thread java.lang.Thread @ 0x7f2119037b00 socket_c2s-thread-953 has a local variable or reference to org.jivesoftware.openfire.session.LocalClientSession @ 0x7f2cb919b058 which is on the shortest path to java.util.concurrent.ConcurrentHashMap$Node[2097152] @ 0x7f26fa000000. The thread java.lang.Thread @ 0x7f2119037b00 socket_c2s-thread-953 keeps local variables with total size 106,168 (0.00%) bytes.

Significant stack frames and local variables

  • org.jivesoftware.openfire.net.SASLAuthentication.handle(Lorg/jivesoftware/openfire/session/LocalSession;Lorg/dom4j/Element;)Lorg/jivesoftware/openfire/net/SASLAuthentication$Status; (SASLAuthentication.java:425)
    • org.jivesoftware.openfire.session.LocalClientSession @ 0x7f2cb919b058 retains 1,376 (0.00%) bytes

The stacktrace of this Thread is available. See stacktrace. See stacktrace with involved local variables.

Keywords

  • org.jivesoftware.openfire.LocalSessionManager
  • org.jivesoftware.openfire.starter.JiveClassLoader
  • java.util.concurrent.ConcurrentHashMap$Node[]
  • org.jivesoftware.openfire.net.SASLAuthentication.handle(Lorg/jivesoftware/openfire/session/LocalSession;Lorg/dom4j/Element;)Lorg/jivesoftware/openfire/net/SASLAuthentication$Status;
  • SASLAuthentication.java:425
Shortest Paths To the Accumulation Point
Class NameShallow HeapRetained Heap
16,777,24035,172,162,024
\10435,172,162,216
.\4835,172,162,568
..+192984
..|+1921,376
..||+160106,168
..||+5656
..||\
  • Total: 2 entries
..|+1921,376
..|+1921,424
..|+10410,192
..|+6464
..|+64216
..|\
  • Total: 6 entries
..+5672
..\
  • Total: 2 entries
Accumulated Objects in Dominator Tree
Class NameShallow HeapRetained HeapPercentage
4835,172,162,56894.15%
\10435,172,162,21694.15%
.\16,777,24035,172,162,02494.15%
..+48284,1440.00%
..+48253,4320.00%
..+48252,7840.00%
..+48252,3040.00%
..+48247,3120.00%
..+48227,1280.00%
..+48224,3600.00%
..+48222,7520.00%
..+48222,3520.00%
..+48221,5680.00%
..+48219,7840.00%
..+48219,5520.00%
..+48218,1520.00%
..+48218,0400.00%
..+48217,8240.00%
..+48217,6880.00%
..+48216,9840.00%
..+48216,3600.00%
..+48215,4560.00%
..+48214,4960.00%
..\
  • Total: 20 entries
9604,582,4720.01%
Accumulated Objects by Class in Dominator Tree
LabelNumber of ObjectsUsed Heap SizeRetained Heap Size
java.util.concurrent.ConcurrentHashMap$Node
All objects
819,10639,317,08835,151,986,720
java.lang.String
All objects
36,7751,176,8003,196,768
sun.security.ssl.SSLSessionImpl
All objects
9623,040174,672
org.xmpp.packet.JID
All objects
1706,80024,320
java.lang.Integer
All objects
962,3042,304
  • Total: 5 entries
856,24340,526,03235,155,384,784
All Accumulated Objects by Class
Class NameObjectsShallow Heap
byte[]
First 10 of 52,384,626 objects
52,384,6267,074,201,408
java.util.HashMap$Node
First 10 of 122,564,551 objects
122,564,5515,883,098,448
java.util.HashMap$Node[]
First 10 of 7,174,321 objects
7,174,3212,695,191,112
int[]
First 10 of 12,860,123 objects
12,860,1232,093,732,128
java.lang.Object[]
First 10 of 15,486,039 objects
15,486,0391,769,273,264
java.lang.String
First 10 of 23,463,924 objects
23,463,924750,845,568
java.util.LinkedList$Node
First 10 of 17,565,798 objects
17,565,798702,631,920
io.netty.channel.DefaultChannelHandlerContext
First 10 of 6,466,256 objects
6,466,256620,760,576
java.util.ArrayList
First 10 of 12,300,543 objects
12,300,543492,021,720
java.util.concurrent.locks.ReentrantLock$NonfairSync
First 10 of 10,226,813 objects
10,226,813490,887,024
java.util.HashMap
First 10 of 7,469,795 objects
7,469,795478,066,880
java.util.LinkedHashMap$Entry
First 10 of 6,742,078 objects
6,742,078431,492,992
java.util.LinkedHashMap
First 10 of 3,669,910 objects
3,669,910322,952,080
java.math.BigInteger
First 10 of 6,466,253 objects
6,466,253310,380,144
java.util.concurrent.atomic.AtomicLong
First 10 of 11,840,552 objects
11,840,552284,173,248
long[]
First 10 of 929,964 objects
929,964260,389,920
java.util.concurrent.locks.ReentrantLock
First 10 of 10,226,813 objects
10,226,813245,443,512
java.util.LinkedList
First 10 of 4,919,790 objects
4,919,790236,149,920
sun.security.ssl.SSLSessionImpl
First 10 of 943,802 objects
943,802226,512,480
io.netty.util.DefaultAttributeMap$DefaultAttribute
First 10 of 5,657,974 objects
5,657,974226,318,960
javax.crypto.Cipher
First 10 of 1,922,230 objects
1,922,230199,911,920
org.jivesoftware.openfire.session.LocalClientSession
First 10 of 1,026,879 objects
1,026,879197,160,768
sun.security.util.MemoryCache
First 10 of 3,233,128 objects
3,233,128181,055,168
sun.nio.ch.SocketChannelImpl
First 10 of 961,115 objects
961,115176,845,160
io.netty.channel.socket.nio.NioSocketChannel
First 10 of 808,282 objects
808,282161,656,400
  • Total: 25 of 253 entries; 228 more
520,550,71035,172,162,024

Thread Details

Thread socket_c2s-thread-953
Thread Properties
Object / Stack Framejava.lang.Thread @ 0x7f2119037b00
Namesocket_c2s-thread-953
Shallow Heap160
Retained Heap106,168
Max. Locals' Retained Heap
Context Class Loaderorg.jivesoftware.openfire.starter.JiveClassLoader @ 0x7f20f400cb78
Is Daemontrue
Priority10
State[alive, runnable]
State value0x5
  • Total: 10 entries
Thread Stack
socket_c2s-thread-953
  at sun.nio.ch.SocketDispatcher.read0(Ljava/io/FileDescriptor;JI)I (SocketDispatcher.java(Native Method))
  at sun.nio.ch.SocketDispatcher.read(Ljava/io/FileDescriptor;JI)I (SocketDispatcher.java:47)
  at sun.nio.ch.NioSocketImpl.tryRead(Ljava/io/FileDescriptor;[BII)I (NioSocketImpl.java:266)
  at sun.nio.ch.NioSocketImpl.implRead([BII)I (NioSocketImpl.java:317)
  at sun.nio.ch.NioSocketImpl.read([BII)I (NioSocketImpl.java:355)
  at sun.nio.ch.NioSocketImpl$1.read([BII)I (NioSocketImpl.java:808)
  at java.net.Socket$SocketInputStream.read([BII)I (Socket.java:966)
  at com.mysql.cj.protocol.ReadAheadInputStream.fill(I)V (ReadAheadInputStream.java:107)
  at com.mysql.cj.protocol.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary([BII)I (ReadAheadInputStream.java:150)
  at com.mysql.cj.protocol.ReadAheadInputStream.read([BII)I (ReadAheadInputStream.java:180)
  at java.io.FilterInputStream.read([BII)I (FilterInputStream.java:132)
  at com.mysql.cj.protocol.FullReadInputStream.readFully([BII)I (FullReadInputStream.java:64)
  at com.mysql.cj.protocol.a.SimplePacketReader.readHeaderLocal()Lcom/mysql/cj/protocol/a/NativePacketHeader; (SimplePacketReader.java:81)
  at com.mysql.cj.protocol.a.SimplePacketReader.readHeader()Lcom/mysql/cj/protocol/a/NativePacketHeader; (SimplePacketReader.java:63)
  at com.mysql.cj.protocol.a.SimplePacketReader.readHeader()Lcom/mysql/cj/protocol/MessageHeader; (SimplePacketReader.java:45)
  at com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader()Lcom/mysql/cj/protocol/a/NativePacketHeader; (TimeTrackingPacketReader.java:52)
  at com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader()Lcom/mysql/cj/protocol/MessageHeader; (TimeTrackingPacketReader.java:41)
  at com.mysql.cj.protocol.a.MultiPacketReader.readHeader()Lcom/mysql/cj/protocol/a/NativePacketHeader; (MultiPacketReader.java:54)
  at com.mysql.cj.protocol.a.MultiPacketReader.readHeader()Lcom/mysql/cj/protocol/MessageHeader; (MultiPacketReader.java:44)
  at com.mysql.cj.protocol.a.NativeProtocol.readMessage(Lcom/mysql/cj/protocol/a/NativePacketPayload;)Lcom/mysql/cj/protocol/a/NativePacketPayload; (NativeProtocol.java:576)
  at com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(I)Lcom/mysql/cj/protocol/a/NativePacketPayload; (NativeProtocol.java:762)
  at com.mysql.cj.protocol.a.NativeProtocol.sendCommand(Lcom/mysql/cj/protocol/Message;ZI)Lcom/mysql/cj/protocol/a/NativePacketPayload; (NativeProtocol.java:701)
  at com.mysql.cj.protocol.a.NativeProtocol.sendQueryPacket(Lcom/mysql/cj/Query;Lcom/mysql/cj/protocol/a/NativePacketPayload;IZLcom/mysql/cj/protocol/ColumnDefinition;Lcom/mysql/cj/protocol/ProtocolEntityFactory;)Lcom/mysql/cj/protocol/Resultset; (NativeProtocol.java:1050)
  at com.mysql.cj.NativeSession.execSQL(Lcom/mysql/cj/Query;Ljava/lang/String;ILcom/mysql/cj/protocol/a/NativePacketPayload;ZLcom/mysql/cj/protocol/ProtocolEntityFactory;Lcom/mysql/cj/protocol/ColumnDefinition;Z)Lcom/mysql/cj/protocol/Resultset; (NativeSession.java:660)
  at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ILcom/mysql/cj/protocol/Message;ZZLcom/mysql/cj/protocol/ColumnDefinition;Z)Lcom/mysql/cj/jdbc/result/ResultSetInternalMethods; (ClientPreparedStatement.java:889)
  at com.mysql.cj.jdbc.ClientPreparedStatement.executeQuery()Ljava/sql/ResultSet; (ClientPreparedStatement.java:968)
  at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery()Ljava/sql/ResultSet; (DelegatingPreparedStatement.java:122)
  at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery()Ljava/sql/ResultSet; (DelegatingPreparedStatement.java:122)
  at org.jivesoftware.openfire.auth.JDBCAuthProvider.getPasswordValue(Ljava/lang/String;)Ljava/lang/String; (JDBCAuthProvider.java:387)
  at org.jivesoftware.openfire.auth.JDBCAuthProvider.authenticate(Ljava/lang/String;Ljava/lang/String;)V (JDBCAuthProvider.java:231)
  at org.jivesoftware.openfire.auth.AuthFactory.authenticate(Ljava/lang/String;Ljava/lang/String;)Lorg/jivesoftware/openfire/auth/AuthToken; (AuthFactory.java:184)
  at org.jivesoftware.openfire.net.XMPPCallbackHandler.handle([Ljavax/security/auth/callback/Callback;)V (XMPPCallbackHandler.java:88)
  at org.jivesoftware.openfire.sasl.SaslServerPlainImpl.evaluateResponse([B)[B (SaslServerPlainImpl.java:131)
  at org.jivesoftware.openfire.net.SASLAuthentication.handle(Lorg/jivesoftware/openfire/session/LocalSession;Lorg/dom4j/Element;)Lorg/jivesoftware/openfire/net/SASLAuthentication$Status; (SASLAuthentication.java:425)
  at org.jivesoftware.openfire.net.StanzaHandler.processStanza(Ljava/lang/String;Lorg/dom4j/io/XMPPPacketReader;)V (StanzaHandler.java:205)
  at org.jivesoftware.openfire.net.StanzaHandler.process(Ljava/lang/String;Lorg/dom4j/io/XMPPPacketReader;)V (StanzaHandler.java:114)
  at org.jivesoftware.openfire.nio.NettyConnectionHandler.channelRead0(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/String;)V (NettyConnectionHandler.java:142)
  at org.jivesoftware.openfire.nio.NettyConnectionHandler.channelRead0(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V (NettyConnectionHandler.java:50)
  at io.netty.channel.SimpleChannelInboundHandler.channelRead(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V (SimpleChannelInboundHandler.java:99)
  at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(Ljava/lang/Object;)V (AbstractChannelHandlerContext.java:444)
  at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(Lio/netty/channel/AbstractChannelHandlerContext;Ljava/lang/Object;)V (AbstractChannelHandlerContext.java:420)
  at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext; (AbstractChannelHandlerContext.java:412)
  at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/CodecOutputList;I)V (ByteToMessageDecoder.java:346)
  at io.netty.handler.codec.ByteToMessageDecoder.channelRead(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V (ByteToMessageDecoder.java:318)
  at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(Ljava/lang/Object;)V (AbstractChannelHandlerContext.java:444)
  at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(Lio/netty/channel/AbstractChannelHandlerContext;Ljava/lang/Object;)V (AbstractChannelHandlerContext.java:420)
  at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext; (AbstractChannelHandlerContext.java:412)
  at io.netty.handler.timeout.IdleStateHandler.channelRead(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V (IdleStateHandler.java:289)
  at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(Ljava/lang/Object;)V (AbstractChannelHandlerContext.java:442)
  at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(Lio/netty/channel/AbstractChannelHandlerContext;Ljava/lang/Object;)V (AbstractChannelHandlerContext.java:420)
  at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext; (AbstractChannelHandlerContext.java:412)
  at io.netty.handler.traffic.AbstractTrafficShapingHandler.channelRead(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V (AbstractTrafficShapingHandler.java:506)
  at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(Ljava/lang/Object;)V (AbstractChannelHandlerContext.java:442)
  at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(Lio/netty/channel/AbstractChannelHandlerContext;Ljava/lang/Object;)V (AbstractChannelHandlerContext.java:420)
  at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext; (AbstractChannelHandlerContext.java:412)
  at io.netty.handler.ssl.SslHandler.unwrap(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;I)I (SslHandler.java:1475)
  at io.netty.handler.ssl.SslHandler.decodeJdkCompatible(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;)V (SslHandler.java:1338)
  at io.netty.handler.ssl.SslHandler.decode(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V (SslHandler.java:1387)
  at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V (ByteToMessageDecoder.java:530)
  at io.netty.handler.codec.ByteToMessageDecoder.callDecode(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V (ByteToMessageDecoder.java:469)
  at io.netty.handler.codec.ByteToMessageDecoder.channelRead(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V (ByteToMessageDecoder.java:290)
  at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(Ljava/lang/Object;)V (AbstractChannelHandlerContext.java:444)
  at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(Lio/netty/channel/AbstractChannelHandlerContext;Ljava/lang/Object;)V (AbstractChannelHandlerContext.java:420)
  at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext; (AbstractChannelHandlerContext.java:412)
  at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V (DefaultChannelPipeline.java:1410)
  at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(Ljava/lang/Object;)V (AbstractChannelHandlerContext.java:440)
  at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(Lio/netty/channel/AbstractChannelHandlerContext;Ljava/lang/Object;)V (AbstractChannelHandlerContext.java:420)
  at io.netty.channel.DefaultChannelPipeline.fireChannelRead(Ljava/lang/Object;)Lio/netty/channel/ChannelPipeline; (DefaultChannelPipeline.java:919)
  at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read()V (AbstractNioByteChannel.java:166)
  at io.netty.channel.nio.NioEventLoop.processSelectedKey(Ljava/nio/channels/SelectionKey;Lio/netty/channel/nio/AbstractNioChannel;)V (NioEventLoop.java:788)
  at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized()V (NioEventLoop.java:724)
  at io.netty.channel.nio.NioEventLoop.processSelectedKeys()V (NioEventLoop.java:650)
  at io.netty.channel.nio.NioEventLoop.run()V (NioEventLoop.java:562)
  at io.netty.util.concurrent.SingleThreadEventExecutor$4.run()V (SingleThreadEventExecutor.java:997)
  at io.netty.util.internal.ThreadExecutorMap$2.run()V (ThreadExecutorMap.java:74)
  at java.lang.Thread.run()V (Thread.java:840)