RFR: 8284161: Implementation of Virtual Threads (Preview) [v8]

Andrew Haley aph at openjdk.java.net
Thu Apr 28 07:46:45 UTC 2022


On Wed, 27 Apr 2022 19:21:58 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> src/java.base/share/classes/jdk/internal/misc/UnsafeConstants.java line 122:
>> 
>>> 120:      */
>>> 121: 
>>> 122:     public static final int SCOPED_CACHE_SHIFT;
>> 
>> I can't find this constant being used.   If added for future, maybe keep `UnsafeConstants` class and this static field package-private for now.
>
> It originally configured the number of lines in extent local cache but the implementation has changed. @theRealAph would be best to comment on this, it may be possible to delete it.

Yes, it's dead. Thanks.

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

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


More information about the core-libs-dev mailing list