src/hotspot/share/gc/epsilon/epsilonHeap.cpp
branchepsilon-gc-branch
changeset 56580 b6c934c3fda2
parent 56577 338a117fb65c
child 56581 d6ace215b52c
equal deleted inserted replaced
56578:e8414c8ead61 56580:b6c934c3fda2
    57   _step_heap_print = (EpsilonPrintHeapStep == 0) ? SIZE_MAX : (max_byte_size / EpsilonPrintHeapStep);
    57   _step_heap_print = (EpsilonPrintHeapStep == 0) ? SIZE_MAX : (max_byte_size / EpsilonPrintHeapStep);
    58 
    58 
    59   _decay_time_ns = (int64_t) EpsilonTLABDecayTime * 1000 * 1000;
    59   _decay_time_ns = (int64_t) EpsilonTLABDecayTime * 1000 * 1000;
    60 
    60 
    61   if (init_byte_size != max_byte_size) {
    61   if (init_byte_size != max_byte_size) {
    62     log_info(gc)("Initialized with " SIZE_FORMAT "M heap, resizeable to up to " SIZE_FORMAT "M heap with " SIZE_FORMAT "M steps",
    62     log_info(gc)("Resizeable heap; starting at " SIZE_FORMAT "M, max: " SIZE_FORMAT "M, step: " SIZE_FORMAT "M",
    63                  init_byte_size / M, max_byte_size / M, EpsilonMinHeapExpand / M);
    63                  init_byte_size / M, max_byte_size / M, EpsilonMinHeapExpand / M);
    64   } else {
    64   } else {
    65     log_info(gc)("Initialized with " SIZE_FORMAT "M non-resizeable heap", init_byte_size / M);
    65     log_info(gc)("Non-resizeable heap; start/max: " SIZE_FORMAT "M", init_byte_size / M);
    66   }
    66   }
    67   if (UseTLAB) {
    67   if (UseTLAB) {
    68     log_info(gc)("Using TLAB allocation; max: " SIZE_FORMAT "K", _max_tlab_size * HeapWordSize / K);
    68     log_info(gc)("Using TLAB allocation; max: " SIZE_FORMAT "K", _max_tlab_size * HeapWordSize / K);
    69     if (EpsilonElasticTLAB) {
    69     if (EpsilonElasticTLAB) {
    70       log_info(gc)("Elastic TLABs with elasticity = %.2fx", EpsilonTLABElasticity);
    70       log_info(gc)("Elastic TLABs enabled; elasticity: %.2fx", EpsilonTLABElasticity);
    71     }
    71     }
    72     if (EpsilonElasticTLABDecay) {
    72     if (EpsilonElasticTLABDecay) {
    73       log_info(gc)("Elastic TLABs with decay = " INT64_FORMAT " ms", EpsilonTLABDecayTime);
    73       log_info(gc)("Elastic TLABs decay enabled; decay time: " SIZE_FORMAT "ms", EpsilonTLABDecayTime);
    74     }
    74     }
    75   } else {
    75   } else {
    76     log_info(gc)("Not using TLAB allocation");
    76     log_info(gc)("Not using TLAB allocation");
    77   }
    77   }
    78 
    78