Selftests to stress memory barriers (fences)

RESOLVED WONTFIX

Status

RESOLVED WONTFIX
8 years ago
a day ago

People

(Reporter: siwilkin, Assigned: kpalacz)

Tracking

unspecified
Future
Bug Flags:
flashplayer-injection -
flashplayer-qrb +
flashplayer-bug -

Details

(Reporter)

Description

8 years ago
What does a VM selftest for memory barriers look like?

The one that I have tried in bug 555760 is to protect a shared counter with a Dekker-style lock that has been made sequentially consistent with memory barriers. The idea is that if the barriers are ok, then two threads can compete to update the counter n times each, so that the final counter value is 2n. If the final value is not 2n, then the barriers have failed to ensure sequential consistency.
This seems way too complicated though. We have to be confident in the algorithm before considering the barrier implementations, and I'm not convinced as yet. Is there something simpler?
(Reporter)

Updated

8 years ago
Assignee: nobody → kpalacz

Updated

7 years ago
Flags: flashplayer-qrb+
Flags: flashplayer-injection-
Flags: flashplayer-bug-
Target Milestone: --- → Future
Tamarin is a dead project now. Mass WONTFIX.
Status: NEW → RESOLVED
Last Resolved: a day ago
Resolution: --- → WONTFIX
Tamarin isn't maintained anymore. WONTFIX remaining bugs.
You need to log in before you can comment on or make changes to this bug.