JVM's Parallel scavenge collector

Source: Internet
Author: User

Cenozoic collectors, replication algorithms, parallel collection, throughput-oriented requirements (throughput priority collector).

Throughput = user code run time/(user code run time + garbage collection Time)

-xx:maxgcpausemillis: Controls the maximum garbage collection pause time, which is greater than 0 milliseconds.

-xx:gctimeratio: Throughput size, integers from 0 to 100, garbage collection time as a proportion of total time, calculated 1/(1+N) GC time consumption ratio.

-xx:useadaptivesizepolicy: After opening, you do not need to set the Cenozoic size (-xmn), Edian,survivor scale and (-xx:survivorratio) Age of promotion (-XX: Pretenuresizethreshold), the virtual machine according to the system health, adjust the pause time, throughput, GC Adaptive adjustment Strategy, the difference between parnew.

JVM's Parallel scavenge collector

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.