| 4 | // Visit http://OnJava8.com for more book information. |
| 5 | |
| 6 | public class ReOrdering implements Runnable { |
| 7 | int one, two, three, four, five, six; |
| 8 | volatile int volaTile; |
| 9 | @Override public void run() { |
| 10 | one = 1; |
| 11 | two = 2; |
| 12 | three = 3; |
| 13 | volaTile = 92; |
| 14 | int x = four; |
| 15 | int y = five; |
| 16 | int z = six; |
| 17 | } |
| 18 | } |
nothing calls this directly
no outgoing calls
no test coverage detected