[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-hotspot-runtime-dev
Subject:    Re: RFR: 8264123: add ThreadsList.is_valid() support
From:       Daniel D.Daugherty <dcubed () openjdk ! java ! net>
Date:       2021-03-31 16:08:22
Message-ID: pakLlhC6Fq0kriAeCrihqiUfu7rDFVXgrXs-7Km3tiw=.8574109f-2517-4710-a906-f9b6c91768ad () github ! com
[Download RAW message or body]

On Wed, 31 Mar 2021 14:22:46 GMT, Erik Ă–sterlund <eosterlund@openjdk.org> wrote:

>> ThreadsLists need an is_valid() function and checks in various
>> places to help catch bugs where a ThreadsList is dangling.
>> 
>> Other minor changes:
>> - change raw `_threads_hazard_ptr` access to used `get_threads_hazard_ptr()`.
>> - `get_threads_hazard_ptr()` should be `const`.
>> - fix a couple of old typos.
>> 
>> Update: forgot to mention that this fix was tested with Mach5 Tier[1-8].
>
> Looks good to me!

@fisk - Thanks for the review!

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

PR: https://git.openjdk.java.net/jdk/pull/3255
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic