// // Defines all globals flags used by the Epsilon GC. //
#define GC_EPSILON_FLAGS(develop, \
develop_pd, \
product, \
product_pd, \
notproduct, \
range, \
constraint) \
\
product(size_t, EpsilonPrintHeapSteps, 20, EXPERIMENTAL, \ "Print heap occupancy stats with this number of steps. " \ "0 turns the printing off.") \
range(0, max_intx) \
\
product(size_t, EpsilonUpdateCountersStep, 1 * M, EXPERIMENTAL, \ "Update heap occupancy counters after allocating this much " \ "memory. Higher values would make allocations faster at " \ "the expense of lower resolution in heap counters.") \
range(1, max_intx) \
\
product(size_t, EpsilonMaxTLABSize, 4 * M, EXPERIMENTAL, \ "Max TLAB size to use with Epsilon GC. Larger value improves " \ "performance at the expense of per-thread memory waste. This " \ "asks TLAB machinery to cap TLAB sizes at this value.") \
range(1, max_intx) \
\
product(bool, EpsilonElasticTLAB, true, EXPERIMENTAL, \ "Use elastic policy to manage TLAB sizes. This conserves memory " \ "for non-actively allocating threads, even when they request " \ "large TLABs for themselves. Active threads would experience " \ "smaller TLABs until policy catches up.") \
\
product(bool, EpsilonElasticTLABDecay, true, EXPERIMENTAL, \ "Use timed decays to shrink TLAB sizes. This conserves memory " \ "for the threads that allocate in bursts of different sizes, " \ "for example the small/rare allocations coming after the initial "\ "large burst.") \
\
product(double, EpsilonTLABElasticity, 1.1, EXPERIMENTAL, \ "Multiplier to use when deciding on next TLAB size. Larger value "\ "improves performance at the expense of per-thread memory waste. "\ "Lower value improves memory footprint, but penalizes actively " \ "allocating threads.") \
range(1.0, DBL_MAX) \
\
product(size_t, EpsilonTLABDecayTime, 1000, EXPERIMENTAL, \ "TLAB sizing policy decays to initial size after thread had not " \ "allocated for this long. Time is in milliseconds. Lower value " \ "improves memory footprint, but penalizes actively allocating " \ "threads.") \
range(1, max_intx) \
\
product(size_t, EpsilonMinHeapExpand, 128 * M, EXPERIMENTAL, \ "Min expansion step for heap. Larger value improves performance " \ "at the potential expense of memory waste.") \
range(1, max_intx)
// end of GC_EPSILON_FLAGS
#endif// SHARE_GC_EPSILON_EPSILON_GLOBALS_HPP
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.8 Sekunden
(vorverarbeitet am 2026-06-10)
¤
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.