Integrated: 8276824: refactor Thread::is_JavaThread_protected

Daniel D.Daugherty dcubed at openjdk.java.net
Fri Nov 12 19:10:46 UTC 2021


On Tue, 9 Nov 2021 15:07:58 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:

> Refactor `Thread::is_JavaThread_protected(const JavaThread* p, bool checkTLHOnly)`
> into: `bool Thread::is_JavaThread_protected(const JavaThread* p)`
> and: `Thread::is_JavaThread_protected_by_TLH(const JavaThread* p)`.
> Also change callers that passed `checkTLHOnly == true` into calls to
> `Thread::is_JavaThread_protected_by_TLH(const JavaThread* p)`.
> 
> This refactoring is being tested with Mach5 Tier[1-3] (in process).
> 
> In the "Files changed" view, enable "Settings -> Hide whitespace" for an easier review.

This pull request has now been integrated.

Changeset: 176d21d6
Author:    Daniel D. Daugherty <dcubed at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/176d21d6c525f8fd9592db5b4975308ea0001856
Stats:     82 lines in 3 files changed: 34 ins; 22 del; 26 mod

8276824: refactor Thread::is_JavaThread_protected

Reviewed-by: coleenp, rehn, dholmes

-------------

PR: https://git.openjdk.java.net/jdk/pull/6315


More information about the hotspot-runtime-dev mailing list