Skip to content

Instantly share code, notes, and snippets.

@pbogunovich
Created February 21, 2012 16:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pbogunovich/1877142 to your computer and use it in GitHub Desktop.
Save pbogunovich/1877142 to your computer and use it in GitHub Desktop.
Object Histogram:
num #instances #bytes Class description
--------------------------------------------------------------------------
1: 43266425 692262800 java.lang.Object
2: 4816449 577973880 java.net.SocksSocketImpl
3: 4801256 537740672 sun.nio.ch.SocketChannelImpl
4: 9617610 307763520 java.net.Inet4Address
5: 9603297 230479128 java.net.InetSocketAddress
6: 4801255 230460240 sun.nio.ch.SocketAdaptor
7: 4698812 187952480 java.lang.ref.Finalizer
8: 4801145 153636640 java.nio.channels.SelectionKey[]
9: 4810734 115457616 java.io.FileDescriptor
10: 4810735 76971760
java.util.concurrent.atomic.AtomicInteger
11: 4801256 76820096 sun.nio.ch.SocketOptsImpl$IP$TCP
12: 4801256 76820096 sun.nio.ch.SocketChannelImpl$1
13: 4801256 76820096 sun.nio.ch.OptionAdaptor
14: 4801127 76818032
java.nio.channels.spi.AbstractInterruptibleChannel$1
15: 8540 4780736 byte[]
16: 30813 4199144 * MethodKlass
17: 30813 4169744 * ConstMethodKlass
18: 2730 2917944 * ConstantPoolKlass
19: 43153 2272000 * SymbolKlass
20: 2730 2038848 * InstanceKlassKlass
21: 2485 1880136 * ConstantPoolCacheKlass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment