Skip to content
Permalink
Browse files
8273372: Remove scavenge trace message in psPromotionManager
Reviewed-by: tschatzl, lkorinth
  • Loading branch information
albertnetymk committed Sep 16, 2021
1 parent 241ac89 commit 14dc5178cf28c60a791502b9922879371493e925
Showing 3 changed files with 0 additions and 10 deletions.
@@ -369,7 +369,5 @@ oop PSPromotionManager::oop_promotion_failed(oop obj, markWord obj_mark) {
obj = obj->forwardee();
}

log_develop_trace(gc, scavenge)("{promotion-failure %s " PTR_FORMAT " (%d)}", obj->klass()->internal_name(), p2i(obj), obj->size());

return obj;
}
@@ -267,11 +267,6 @@ inline oop PSPromotionManager::copy_unmarked_to_survivor_space(oop o,
assert(young_space()->contains(new_obj), "Attempt to push non-promoted obj");
}

log_develop_trace(gc, scavenge)("{%s %s " PTR_FORMAT " -> " PTR_FORMAT " (%d)}",
new_obj_is_tenured ? "copying" : "tenuring",
new_obj->klass()->internal_name(),
p2i((void *)o), p2i((void *)new_obj), new_obj->size());

// Do the size comparison first with new_obj_size, which we
// already have. Hopefully, only a few objects are larger than
// _min_array_size_for_chunking, and most of them will be arrays.
@@ -469,7 +469,6 @@ class RefProcSoftWeakFinalPhaseTask: public RefProcTask {
BoolObjectClosure* is_alive,
OopClosure* keep_alive,
VoidClosure* complete_gc) override {
ResourceMark rm;
RefProcWorkerTimeTracker t(_phase_times->soft_weak_final_refs_phase_worker_time_sec(), tracker_id(worker_id));

process_discovered_list(worker_id, REF_SOFT, is_alive, keep_alive);
@@ -495,7 +494,6 @@ class RefProcKeepAliveFinalPhaseTask: public RefProcTask {
BoolObjectClosure* is_alive,
OopClosure* keep_alive,
VoidClosure* complete_gc) override {
ResourceMark rm;
RefProcSubPhasesWorkerTimeTracker tt(ReferenceProcessor::KeepAliveFinalRefsSubPhase, _phase_times, tracker_id(worker_id));
_ref_processor.process_final_keep_alive_work(_ref_processor._discoveredFinalRefs[worker_id], keep_alive);
// Close the reachable set
@@ -514,7 +512,6 @@ class RefProcPhantomPhaseTask: public RefProcTask {
BoolObjectClosure* is_alive,
OopClosure* keep_alive,
VoidClosure* complete_gc) override {
ResourceMark rm;
process_discovered_list(worker_id, REF_PHANTOM, is_alive, keep_alive);

// Close the reachable set; needed for collectors which keep_alive_closure do

1 comment on commit 14dc517

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 14dc517 Sep 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.