« Return to Thread: [rvm-research] Slots and Object Barriers

[rvm-research] Slots and Object Barriers

by Cristian Perfumo :: Rate this Message:

Reply to Author | View in Thread

Hi everybody,

Looking at org.mmtk.plan.generational.Gen, I see these constants:

  public static final boolean USE_OBJECT_BARRIER_FOR_AASTORE = false; // choose between slot and object barriers
  public static final boolean USE_OBJECT_BARRIER_FOR_PUTFIELD = false; // choose between slot and object barriers


I notice that if they are set to true, the applications go faster in general. I was wondering what the tradeoff is, if any, between having them set to true and false.

Also, I'm curious about the tradeoff between USE_DISCONTIGUOUS_NURSERY true and false.

The only place where they are tested is org.mmtk.plan.generational.GenMutator, in the fastPath(...) method.

Is there any place where I can read what the difference is between using slots and object barriers?

Thank you very much.

Cristian.

------------------------------------------------------------------------------

_______________________________________________
Jikesrvm-researchers mailing list
Jikesrvm-researchers@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers

 « Return to Thread: [rvm-research] Slots and Object Barriers