I don’t know the reason but the RuntimeError with the message “ST7: unexpected beginning of Document.text!” disappears if we exclude the java.lang.String from the instrumentation of the StmBench7.
Excluding the String, this means that every time a String is accessed by a transactional method it will be avoided STM barriers when accessing the String fields. Yet, this behavior does not seems to me inconsistent since Strings are Immutable objects, so I think that it is a good practice to exclude this class from Deuce Instrumentation.
I don’t know the reason but the RuntimeError with the message “ST7: unexpected beginning of Document.text!” disappears if we exclude the java.lang.String from the instrumentation of the StmBench7.
Excluding the String, this means that every time a String is accessed by a transactional method it will be avoided STM barriers when accessing the String fields. Yet, this behavior does not seems to me inconsistent since Strings are Immutable objects, so I think that it is a good practice to exclude this class from Deuce Instrumentation.
--To view this discussion on the web visit https://groups.google.com/d/msg/deuce-stm-developers/-/OSaKxSKR8QsJ.
You received this message because you are subscribed to the Google Groups "Deuce-STM developers" group.
To post to this group, send email to deuce-stm-...@googlegroups.com.
To unsubscribe from this group, send email to deuce-stm-develo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/deuce-stm-developers?hl=en.
Please, could you be a little bit more precise about “String is excluded by default”?Are you referring to the default exclude property that is initialized with "java.*,sun.*,org.eclipse.*,org.junit.*,junit.*" and therefore excludes the String class?
--
You received this message because you are subscribed to the Google Groups "Deuce-STM developers" group.
To view this discussion on the web visit https://groups.google.com/d/msg/deuce-stm-developers/-/p1fCnmxEIsYJ.