RFR: JDK-8220671: Initialization race for non-JavaThread PtrQueues

Kim Barrett kim.barrett at oracle.com
Tue Mar 19 06:17:34 UTC 2019


> On Mar 18, 2019, at 10:50 PM, Kim Barrett <kim.barrett at oracle.com> wrote:
> 
>> On Mar 18, 2019, at 6:35 PM, Kim Barrett <kim.barrett at oracle.com> wrote:
>> 
>> (3) […] So another approach is to
>> reverse the order and address the verification failure directly.  Add
>> another "unitialized" initial state.  […]
> 
> I started exploring down this path, and it looks plausible. […]

Maybe not.  Having trouble dealing with the initial thread.  It would help if there were a
way to tell we’re the initial thread, but I didn’t find one the last time I looked either.




More information about the hotspot-gc-dev mailing list