Skip to content
Permalink
Browse files
8273217: Make ParHeapInspectTask _safepoint_check_never
Reviewed-by: dholmes, pchilanomate
  • Loading branch information
coleenp committed Sep 1, 2021
1 parent 02822e1 commit dacd1978972b46510049086c8431bb12e5f3722f
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/hotspot/share/memory/heapInspection.cpp
  2. +1 −1 src/hotspot/share/memory/heapInspection.hpp
@@ -561,7 +561,7 @@ void ParHeapInspectTask::work(uint worker_id) {
_poi->object_iterate(&ric, worker_id);
missed_count = ric.missed_count();
{
MutexLocker x(&_mutex);
MutexLocker x(&_mutex, Mutex::_no_safepoint_check_flag);
merge_success = _shared_cit->merge(&cit);
}
if (merge_success) {
@@ -245,7 +245,7 @@ class ParHeapInspectTask : public AbstractGangTask {
_filter(filter),
_missed_count(0),
_success(true),
_mutex(Mutex::leaf, "Parallel heap iteration data merge lock", Mutex::_safepoint_check_always) {}
_mutex(Mutex::leaf, "ParHeapInspectTask_lock", Mutex::_safepoint_check_never) {}

uintx missed_count() const {
return _missed_count;

1 comment on commit dacd197

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on dacd197 Sep 1, 2021

Please sign in to comment.