static uint nof_parallel_worker_threads(uint num,
uint den,
uint switch_pt);
// Calculates and returns the number of parallel GC threads. May // be CPU-architecture-specific. static uint calc_parallel_worker_threads();
public: // Returns the number of parallel threads to be used as default value of // ParallelGCThreads. If that number has not been calculated, do so and // save it. Returns ParallelGCThreads if it is set on the // command line. static uint parallel_worker_threads();
// Return number default GC threads to use in the next GC. static uint calc_default_active_workers(uintx total_workers, const uintx min_workers,
uintx active_workers,
uintx application_workers);
// Return number of GC threads to use in the next GC. // This is called sparingly so as not to change the // number of GC workers gratuitously. // For PS scavenge and ParOld collections // For G1 evacuation pauses (subject to update) // For G1 Full GCs (subject to update) // Other collection phases inherit the number of // GC workers from the calls above. static uint calc_active_workers(uintx total_workers,
uintx active_workers,
uintx application_workers);
// Return number of GC threads to use in the next concurrent GC phase. static uint calc_active_conc_workers(uintx total_workers,
uintx active_workers,
uintx application_workers);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.