Home > Back-end > Execute the same code debug mode and normal mode, the result is different
Execute the same code debug mode and normal mode, the result is different
Time:12-19
Deep understanding of Java virtual machine (the third edition (zhi-ming zhou teacher) on page 605
Compile tools is the idea of Question: why in the debug mode, the program can normal end, output value of the race, but has been performed in normal mode, while the equivalent of an infinite loop, Thread. The activeCount () has always been a value greater than 1,