This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Is there a spec of what these should do?
The patch, taken together with support on other architectures, is quite inconsistent.
I would expect that the 32 and 64 bit variants would need the same kind of fences.
It looks like x86-64 and i386 read_barrier is just broken, in that it doesn't prevent compiler reordering.
I would have expected at least the PowerPC write barrier implementation to use lwsync.
I'm probably biased, but it seems to me that the atomic_ops package (used in gc7) is more coherent here.
Thanks, Andreas
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |