harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Pervov" <pmcfi...@gmail.com>
Subject Re: [drlvm][gc] difference between compiled code and object data
Date Thu, 21 Feb 2008 09:00:39 GMT
Simon,

VM tries to keep code as local as possible by utilizing memory pools.
But it might happen on x86-64 that several chunks of code memory pool
will live in different parts of memory.

WBR,
    Pavel.

On 2/21/08, Simon Chow <simon.harmony@gmail.com> wrote:
> Thanks. It is every helpful!
> So how does Harmony manage JIT generated code at runtime? Is there some
> consideration for code locality improvement?
>
> On 21/02/2008, Xiao-Feng Li <xiaofeng.li@gmail.com> wrote:
> >
> > Simon, currently, Harmony manages VM data and Java heap separately.
> > Java Heap is a specific term for the space that is managed by GC for
> > Java objects. VM data such as VM data structures and  JIT generated
> > code have their respective management, not managed by GC. They are
> > interacting in certain contexts, such as class loading/unloading,
> > etc., where native data have pointers to Java objects or the reverse.
> > But basically they are independent at the moment.
> >
> > Thanks,
> > xiaofeng
> >
> >
> > On Thu, Feb 21, 2008 at 9:57 AM, Simon Chow <simon.harmony@gmail.com>
> > wrote:
> > > I find the compiled code produced by JIT is placed in the JVM heap space
> > >  (0xA0000000~0xB0000000 by default) as well as object data, is that
> > true?
> > >  What's the difference of memory management policies used for object
> > data and
> > >  compiled code?
> > >
> > >
> > >  --
> > >  From : Simon.Chow@Software School of Fudan University
> > >
> >
> >
> >
> >
> > --
> > http://xiao-feng.blogspot.com
> >
>
>
>
> --
> From : Simon.Chow@Software School of Fudan University
>


-- 
Pavel Pervov,
Intel Enterprise Solutions Software Division

Mime
View raw message