Konstantin,
On 5/1/12 11:04 AM, Christopher Schultz wrote:
On 4/28/12 8:58 PM, Konstantin Kolinko wrote:
I am OK with your proposal, but I do not expect much savings from
getting rid of those duplicates. Does YouKit show some estimates?
It did, but I closed it long ago so I'll have to
returned by class.getName() as well as field
and method names should be already interned by JVM.
So instead of String.intern() it should be possible to call class.getName().
:/
That's what I would have expected, but I can see logs of duplicate
String values (like java.lang.String for instance
2012/4/27 Christopher Schultz ch...@christopherschultz.net:
All,
I've been doing some memory profiling on my webapp to see where I can
reduce our memory footprint a bit by combining equivalent objects.
YourKit has some nice utilities to look for duplicate objects --
especially Strings.
I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 27/04/2012 01:37, Christopher Schultz wrote:
All,
I've been doing some memory profiling on my webapp to see where I
can reduce our memory footprint a bit by combining equivalent
objects. YourKit has some nice utilities to look for duplicate
All,
I've been doing some memory profiling on my webapp to see where I can
reduce our memory footprint a bit by combining equivalent objects.
YourKit has some nice utilities to look for duplicate objects --
especially Strings.
I can see that the string java.lang.String has lots of duplicates.