Re: [rvm-research] Jikes Code Cache Management

Eliot Moss <[email protected]>
Newsgroups gmane.comp.java.jikes.rvm.devel
Message-ID <[email protected]>
On 5/11/2013 10:10 PM, Pushparaj Motamari wrote:
> Continuing to the previous mail,
>
> if USE_CODE_SPACE is true and the space allocated for the code is full, then how the jikes rvm
> replaces the existing code.?

I admit that I am not intimately familiar with the details here,
but I *think* it doesn't.  If it runs out, it runs out.  As noted
before, the space is managed via mark-sweep collection and free-list
allocation, so unreachable code bodies are reclaimed and the space
may be reused, but I believe that if the space permitted by
configuration and/or command line options is exhausted, that's it.
It will not go around discarding reachable methods.  As I said
before, I do not believe it works as a cache.

If I am wrong, I will be glad to be corrected!

Regards -- Eliot Moss

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.