4 ms·
I ran into my share of concurrency bugs, but one thing I could never intentionally trigger was any kind of inconsistency stemming from removing a "volatile" mod
by foobarian 2y ago
I ran into my share of concurrency bugs, but one thing I could never intentionally trigger was any kind of inconsistency stemming from removing a "volatile" modifier from a mutable field in Java. Maybe the JVM I tried this with was just too awesome.
- hashmash 2y agoWere you only testing on x86 or any other "total store order" architecture? If so, removing the volatile modifier has less of an impact.