< prev index next >
src/hotspot/share/gc/epsilon/epsilonHeap.cpp
Print this page
rev 59459 : 8245718: Epsilon: improve configuration logging
Reviewed-by: XXX
@@ -22,10 +22,11 @@
*
*/
#include "precompiled.hpp"
#include "gc/epsilon/epsilonHeap.hpp"
+#include "gc/epsilon/epsilonInitLogger.hpp"
#include "gc/epsilon/epsilonMemoryPool.hpp"
#include "gc/epsilon/epsilonThreadLocalData.hpp"
#include "gc/shared/gcArguments.hpp"
#include "gc/shared/locationPrinter.inline.hpp"
#include "memory/allocation.hpp"
@@ -65,28 +66,11 @@
// Install barrier set
BarrierSet::set_barrier_set(new EpsilonBarrierSet());
// All done, print out the configuration
- if (init_byte_size != max_byte_size) {
- log_info(gc)("Resizeable heap; starting at " SIZE_FORMAT "M, max: " SIZE_FORMAT "M, step: " SIZE_FORMAT "M",
- init_byte_size / M, max_byte_size / M, EpsilonMinHeapExpand / M);
- } else {
- log_info(gc)("Non-resizeable heap; start/max: " SIZE_FORMAT "M", init_byte_size / M);
- }
-
- if (UseTLAB) {
- log_info(gc)("Using TLAB allocation; max: " SIZE_FORMAT "K", _max_tlab_size * HeapWordSize / K);
- if (EpsilonElasticTLAB) {
- log_info(gc)("Elastic TLABs enabled; elasticity: %.2fx", EpsilonTLABElasticity);
- }
- if (EpsilonElasticTLABDecay) {
- log_info(gc)("Elastic TLABs decay enabled; decay time: " SIZE_FORMAT "ms", EpsilonTLABDecayTime);
- }
- } else {
- log_info(gc)("Not using TLAB allocation");
- }
+ EpsilonInitLogger::print();
return JNI_OK;
}
void EpsilonHeap::post_initialize() {
< prev index next >