20 lines
455 B
Java
20 lines
455 B
Java
// lowlevel/ReOrdering.java
|
|
// (c)2020 MindView LLC: see Copyright.txt
|
|
// We make no guarantees that this code is fit for any purpose.
|
|
// Visit http://OnJava8.com for more book information.
|
|
|
|
public class ReOrdering implements Runnable {
|
|
int one, two, three, four, five, six;
|
|
volatile int volaTile;
|
|
@Override
|
|
public void run() {
|
|
one = 1;
|
|
two = 2;
|
|
three = 3;
|
|
volaTile = 92;
|
|
int x = four;
|
|
int y = five;
|
|
int z = six;
|
|
}
|
|
}
|