Forum Stats

  • 3,750,233 Users
  • 2,250,137 Discussions
  • 7,866,845 Comments

Discussions

How GCTimeLimit percent is calculated by JVM

Java SE 8 document on Garbage collector ergonomics mention the following for GCTimeLimit

time-limit: The upper limit on the amount of time spent in garbage collection in percent of total time (default is 98).

1. What is total time  here ?

https://docs.oracle.com/javase/8/docs/technotes/guides/vm/gc-ergonomics.html