reclaim code cache
Xin Tong
trent.tong at gmail.com
Tue Nov 26 07:48:34 PST 2013
Hi Albert
Thank you. I am trying to make the claim that self-modifying code happens
in bulk when running java workloads in a dynamic binary translator. i.e.
the reclaimed memory for zombie methods in the code cache are reused for
other methods. i run the dacapo eclipse benchmark and see some of the
methods being zombized but no methods are JITted to the reclaimed memory ?
what are some of the criteria/conditions for the JIT to reuse the reclaimed
memory ?
Xin
On Tue, Nov 26, 2013 at 7:33 AM, Albert Noll <albert.noll at oracle.com> wrote:
> Hi Xin,
>
> if the code cache sweeper removes a method from the code cache, memory is
> made available for later compilations.
>
> Best,
> Albert
>
>
> On 11/26/2013 03:58 PM, Xin Tong wrote:
>
>> Hi
>>
>> I see some of the methods are made *non-entrant* and then *zombie* in
>> the OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode). I am wondering
>> whether OpenJDK reuses memory for those methods for later compiled methods
>> or not ?
>>
>> Thank you,
>> Xin
>>
>
>
More information about the hotspot-dev
mailing list