harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Evgueni Brevnov" <evgueni.brev...@gmail.com>
Subject Re: [drlvm][classloadin] a lot of HashMap$Entry classloading
Date Mon, 03 Mar 2008 05:34:07 GMT
Egor,

Since every interned string is stored in an internal map VM creates
[Ljava/util/HashMap$Entry; object at startup phase. See
vm\vmcore\src\kernel_classes\javasrc\org\apache\harmony\kernel\vm\internmap.java

Thanks
Evgueni

On 01 Mar 2008 12:38:45 +0300, Egor Pasko <egor.pasko@gmail.com> wrote:
> DRLVM gurus,
>
> I wonder why:
>
> shell> $HY -Xem:jet -Xtrace:classloader Hello 2>&1 | grep 'StartLoading class
\[Ljava/util/HashMap$Entry; with loader' | wc -l
> 1331
>
> is there any quick explanation for lamers like me? :)
>
> --
> Egor Pasko
>
>

Mime
View raw message