Skip to content
Permalink
Browse files
8274430: Remove some debug error printing code added in JDK-8017163
Reviewed-by: sjohanss, ayang
  • Loading branch information
Thomas Schatzl committed Oct 11, 2021
1 parent aaf2401 commit b7af890574b3c13122fe7de987a8c9458c05f625
Showing 1 changed file with 1 addition and 2 deletions.
@@ -611,12 +611,11 @@ class VerifyRemSetClosure : public G1VerificationClosure {
if (!_failures) {
log.error("----------");
}
LogStream ls(log.error());
to->rem_set()->print_info(&ls, p);
log.error("Missing rem set entry:");
log.error("Field " PTR_FORMAT " of obj " PTR_FORMAT " in region " HR_FORMAT,
p2i(p), p2i(_containing_obj), HR_FORMAT_PARAMS(from));
ResourceMark rm;
LogStream ls(log.error());
_containing_obj->print_on(&ls);
log.error("points to obj " PTR_FORMAT " in region " HR_FORMAT " remset %s",
p2i(obj), HR_FORMAT_PARAMS(to), to->rem_set()->get_state_str());

1 comment on commit b7af890

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on b7af890 Oct 11, 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.