How does Deuce STM treats Atomic Primitives

46 views
Skip to first unread message

Pooja Aggarwal

unread,
Jul 11, 2013, 7:07:15 AM7/11/13
to deuc...@googlegroups.com
Hi,

I wanted to know whether the instructions like compareAndSet(), getAndIncrement(), get(), set(), etc gets instrumented by DeuceSTM.

For eg If we there is a AtomicIntegerArray arr
         and we do arr.compareAndSet(i, expVal, newVal);
Then would arr(i) be a part of write set or not ?


Regards,
Pooja

gkor...@gmail.com

unread,
Jul 11, 2013, 3:23:30 PM7/11/13
to deuc...@googlegroups.com
By default Deuce doesn’t instrument any class from rt.jar.
If you want to instrument those classes you need to run offline instrumentation.
 
Sent from Windows Mail
 
--
You received this message because you are subscribed to the Google Groups "Deuce-STM" group.
To unsubscribe from this group and stop receiving emails from it, send an email to deuce-stm+...@googlegroups.com.
To post to this group, send email to deuc...@googlegroups.com.
Visit this group at http://groups.google.com/group/deuce-stm.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply all
Reply to author
Forward
0 new messages