[jdk17] RFR: JDK-8225667: Clarify the behavior of System::gc w.r.t. reference processing [v2]

Mandy Chung mchung at openjdk.java.net
Wed Jun 30 22:52:39 UTC 2021


On Wed, 30 Jun 2021 21:29:17 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

>> Mandy Chung has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Kim's suggestion on the wording
>
> src/java.base/share/classes/java/lang/Runtime.java line 661:
> 
>> 659:      * the change of reachability in any particular number of objects
>> 660:      * or any particular number of {@link java.lang.ref.Reference Reference}
>> 661:      * objects be cleared and enqueued.
> 
> perhaps
> s/number of objects or any/number of objects, or that any/
> s/objects be/objects will be/

That may be clearer.  Updated.

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

PR: https://git.openjdk.java.net/jdk17/pull/183


More information about the core-libs-dev mailing list