« Return to Thread: [rvm-research] How are the unboxed classes implemented?

Re: [rvm-research] To create a space using VMRequest

by Steve Blackburn :: Rate this Message:

Reply to Author | View in Thread

Liangliang,

In that example, the request is for a discontiguous space.   These  
spaces have no pre-defined start or length.  They grow their virtual  
memory footprint on demand.   By contrast other methods of VMRequest  
can request specific regions of the virtual address space for the space.

The choice of which to use depends on whether you need specific  
address ranges to be pinned down.

--Steve

On 15/06/2009, at 10:16 PM, Liangliang Tong wrote:

> Hi All,
>
> Like the following code in org.mmtk.plan.MS.java:
>
> /public static final MarkSweepSpace msSpace = new MarkSweepSpace("ms",
> DEFAULT_POLL_FREQUENCY, VMRequest.create());/
>
> it takes VMRequest.create() as a parameter, yet in VMRequest.java,  
> this
> method is implemented like this:
>
> /  public static VMRequest create() {
>    return new VMRequest(REQUEST_DISCONTIGUOUS, Address.zero(),
> Extent.zero(), 0f, false);
>  }/
>
> Doesn't this method return a space starting with address zero and  
> ending
> with zero?
> Thanks in advance.
>
> --
> Regards,
> Liangliang Tong
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Jikesrvm-researchers mailing list
> Jikesrvm-researchers@...
> https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Jikesrvm-researchers mailing list
Jikesrvm-researchers@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers

 « Return to Thread: [rvm-research] How are the unboxed classes implemented?