The boot log always loops:
1.159:application time:0.8766273 seconds
1.160:total time for which application threads were stopped:0.0001140 seconds, stopping threads took:0.0000351 seconds
Search results:
This means that the application executes for 0.87 seconds, and the GC thread causes a pause time of approximately 0.0001140 seconds. Since the program has been recycled several times, you can see that there are multiple times to print. If you find that a long time, you have to pay attention to the code and design, where there may be implementation or design weaknesses (not necessarily defects), to be optimized according to the actual situation, perhaps the complexity of the code logic, or the code is often created when writing objects.
The reason is that the database connection forgot to change, so caused this phenomenon, modify the database connection, start normal.
G1 GC log: application time:0.8766273 seconds