Re: [rvm-research] Small Code Space

David P Grove <[email protected]>
Newsgroups gmane.comp.java.jikes.rvm.devel
Message-ID <OFA7E1830C.1DC86415-ON85257CC1.00633A5C-85257CC1.0063DE62@us.ibm.com>


Nathan Ricci <[email protected]> wrote on 04/16/2014 02:42:09 PM:
>
>    I was wondering what is actually allocated in the small code
> space? And are objects allocated there handled any differently than
> those in any other MarkSweepSpace?
>

Hi,

	The actual machine instructions (JITed code) for most methods (those
that are not "too big", which go in a large code space).

	You can find the original motivation and experiments for a separate
code space described here: http://dx.doi.org/10.1145/1133956.1133980

	The life time of code tends to be longer than many small objects, so
there are some minor benefits to segregating it.  The main benefit though
is to separate code from data to avoid stumbling over odd/annoying
micro-architectural "features" that can cause performance lost when code
and data is tightly intermixed.

--dave

------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform

_______________________________________________
Jikesrvm-researchers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers
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.