8256304: should MonitorUsedDeflationThreshold be experimental or diagnostic

8256301: ObjectMonitor::is_busy() should return bool

Reviewed-by: coleenp, pchilanomate
This commit is contained in:
Daniel D. Daugherty 2021-05-21 18:32:25 +00:00
parent 8f10c5a890
commit fe333431c8
4 changed files with 6 additions and 6 deletions

View file

@ -1771,9 +1771,9 @@ void ObjectSynchronizer::log_in_use_monitor_details(outputStream* out) {
const markWord mark = mid->header();
ResourceMark rm;
out->print(INTPTR_FORMAT " %d%d%d " INTPTR_FORMAT " %s", p2i(mid),
mid->is_busy() != 0, mark.hash() != 0, mid->owner() != NULL,
mid->is_busy(), mark.hash() != 0, mid->owner() != NULL,
p2i(obj), obj == NULL ? "" : obj->klass()->external_name());
if (mid->is_busy() != 0) {
if (mid->is_busy()) {
out->print(" (%s)", mid->is_busy_to_string(&ss));
ss.reset();
}