Integrated: 8325303: Replace markWord.is_neutral() with markWord.is_unlocked()

David Holmes dholmes at openjdk.org
Fri Apr 5 01:12:13 UTC 2024


On Wed, 7 Feb 2024 01:52:00 GMT, David Holmes <dholmes at openjdk.org> wrote:

> This is a small tidy up to try and remove confusion between checking `is_neutral` (a general state normally associated with a displaced markword in a "pristine" state) and `is_unlocked` (a specific state within the locking protocol). The underlying bit-pattern is the same and so these have been used somewhat synonymously/interchangeably.
> 
> A few comment tweaks too.
> 
> Testing: tiers 1-3 (sanity)
> 
> Thanks.

This pull request has now been integrated.

Changeset: 34f7974a
Author:    David Holmes <dholmes at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/34f7974a40850f89b022a6254beab72f7811c85e
Stats:     26 lines in 5 files changed: 2 ins; 2 del; 22 mod

8325303: Replace markWord.is_neutral() with markWord.is_unlocked()

Reviewed-by: stefank, dcubed

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

PR: https://git.openjdk.org/jdk/pull/17741


More information about the hotspot-dev mailing list