[rvm-research] Object field alignment in MMTk land

View: New views
1 Messages — Rating Filter:   Alert me  

[rvm-research] Object field alignment in MMTk land

by Anthony Hocquet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello everyone,

I added some variables to GenMutator (so in MMtk land), and I need to adjust alignment for one variable :
  public volatile AddressArray buffers = AddressArray.create(2 * BUF_SIZE);          

I need to get the "buffers" object aligned to a CPU cache line. I looked with a "grep" all possible alignment operations, and I found some in FieldLayoutContext/FieldLayout which are in Jikes RVM land.

Is there a way to get this thing done in MMTk land?

Best regards,
Anthony Hocquet

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Jikesrvm-researchers mailing list
Jikesrvm-researchers@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers