On Fri, 2 Jul 2021 08:40:42 GMT, Peter Levart <[email protected]> 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 662:
>
>> 660: * or that any particular number of {@link java.lang.ref.Reference
>> Reference}
>> 661: * objects will be cleared and enqueued.
>> 662: * <p>
>
> Hi Mandy,
> I'm not a native speaker so this might be wrong thinking: The word
> "determine" feels to me like saying "cause". But running System.gc never
> actually causes the change of reachability (well it does, when the Reference
> object is cleared, the reachability of referent changes from
> Weakly/Softly/Phantom-reachable to unreachable, but I don't think you had
> that in mind. Or did you?). What would you say about using word "detect"
> instead? Please others, do say if my thinking is wrong...
Well, "determine" seems to have both meanings:
https://www.google.com/search?q=determine
So by the 2nd meaning, it is good.
-------------
PR: https://git.openjdk.java.net/jdk17/pull/183