Integrated: 8267653: Remove Mutex::_safepoint_check_sometimes
Coleen Phillimore
coleenp at openjdk.java.net
Wed May 26 19:11:15 UTC 2021
On Tue, 25 May 2021 13:20:54 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> Since SR_lock is removed, this state of declaring locks as sometimes safepoint checking and not is no longer used. JavaThreads either always or never check for safepoint, depending on the lock. The Heap_lock was always a bit special because it's taken by a JavaThread after it exits, but the code in mutex::lock_contended already deals with this (ie doesn't safepoint check while exiting).
> Tested with tier 2-3 and tier1 in progress.
> Thanks to Zhengu for testing and confirming shenandoah (I built and ran shenandoah tests too).
This pull request has now been integrated.
Changeset: c59484e7
Author: Coleen Phillimore <coleenp at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/c59484e71517ea9fea7df7b0344b633495f8fd81
Stats: 26 lines in 5 files changed: 4 ins; 19 del; 3 mod
8267653: Remove Mutex::_safepoint_check_sometimes
Reviewed-by: dholmes, pchilanomate
-------------
PR: https://git.openjdk.java.net/jdk/pull/4184
More information about the shenandoah-dev
mailing list