8242638: Shenandoah: restore heap logging for uncommit

Reviewed-by: zgu
This commit is contained in:
Aleksey Shipilev 2020-04-14 15:33:01 +02:00
parent e0ccd77617
commit b812e8baff

View File

@ -2863,7 +2863,7 @@ void ShenandoahHeap::entry_preclean() {
void ShenandoahHeap::entry_uncommit(double shrink_before) {
static const char *msg = "Concurrent uncommit";
ShenandoahConcurrentPhase gc_phase(msg);
ShenandoahConcurrentPhase gc_phase(msg, true /* log_heap_usage */);
EventMark em("%s", msg);
ShenandoahGCSubPhase phase(ShenandoahPhaseTimings::conc_uncommit);