Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Memory Analyzer (MAT) » java.lang.Integer: 16 bytes or 24?
java.lang.Integer: 16 bytes or 24? [message #484698] Tue, 08 September 2009 18:53 Go to next message
Randall Theobald is currently offline Randall Theobald
Messages: 34
Registered: July 2009
Member
I wrote a simple program to play around with some of my memory analysis
tools. I happened upon an inconsistency with MAT. One of my tools says
that Integer objects take up 16 bytes per instance. Docs I've found online
seem to support this. However, MAT is showing 24 bytes per instance. Which
is correct?
Re: java.lang.Integer: 16 bytes or 24? [message #484702 is a reply to message #484698] Tue, 08 September 2009 19:34 Go to previous message
Randall Theobald is currently offline Randall Theobald
Messages: 34
Registered: July 2009
Member
It looks like I only see this on older versions of MAT and it is already
fixed on the newer version that I tried. 16 bytes is the right number.
Previous Topic:Analyzing from 64bit to 32bit
Next Topic:viewing amount of instances in class histogramm / dominator tree
Goto Forum:
  


Current Time: Fri Oct 24 16:24:05 GMT 2014

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

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