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

[rvm-research] How are the unboxed classes implemented?

by lltong :: Rate this Message:

Reply to Author | View in Thread

Hi all,

Space.java, the class that defines and manages spaces, is constructed
like the following:

if (vmRequest.type == VMRequest.REQUEST_DISCONTIGUOUS) {
      this.contiguous = false;
      this.descriptor = SpaceDescriptor.createDescriptor();
      this.start = Address.zero();
      this.extent = Extent.zero();
      this.lastDiscontiguousRegion = Address.zero();
      VM.memory.setHeapRange(index, HEAP_START, HEAP_END);
      return;
    }

As I know, Address and Extent classes have not been implemented, their
methods return nothing but null.
In this case, how can a space be created correctly? which really confuse
me a lot.
It will be highly appreciated if you can solve my puzzle.
Thanks.

--
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

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