G1 GC log: application time:0.8766273 seconds

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.