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 ha
>> those strings are probably already interned by all the RTTI
>> infrastructure in the JVM anyway.
>
> I think that the string returned by class.getName() as well as field
> and method names should be already interned by JVM.
>
> So instead of String.inter
2012/4/27 Christopher Schultz :
> 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 strin
-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 duplica
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.
M