On Thu, 5 May 2022 12:20:41 GMT, Jaroslav Bachorik <jbacho...@openjdk.org> 
wrote:

>> src/hotspot/share/runtime/thread.hpp line 649:
>> 
>>> 647:  // support ASGCT
>>> 648:  private:
>>> 649:   bool _in_asgct;
>> 
>> The position of this field may be significant. See if there are gaps in the 
>> Thread structure which this bool might be able to fill.
>
> Just to clarify - you mean finding a gap due to padding and putting the field 
> there?
> The rest of the fields are usually clustered around the supported 
> functionality so before I insert this flag somewhere in the middle of 
> unrelated fields I want to be sure this is what we want.

I had tried identifying any gaps I might use but found none. Not saying they 
are none but it is rather difficult to spot anything with all the Thread 
related attributes spread across many lines, interspersed with the method 
declarations :(
Any trick or tool I might use to find the right place for this attribute?

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

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

Reply via email to