[jdk17] Integrated: JDK-8225667: Clarify the behavior of System::gc w.r.t. reference processing
Mandy Chung
mchung at openjdk.java.net
Tue Jul 6 15:03:49 UTC 2021
On Wed, 30 Jun 2021 18:24:24 GMT, Mandy Chung <mchung at openjdk.org> wrote:
> This spec clarification is a follow-up to [JDK-8224760](https://bugs.openjdk.java.net/browse/JDK-8224760?focusedCommentId=14268320&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14268320) w.r.t. reference processing. Since there is no guarantee for any memory reclamation by the invocation of `System::gc`, the spec should also clarify that there is no guarantee in determining the change of reachability of any objects or any particular number of `Reference` objects be enqueued and cleared.
>
> CSR:
> https://bugs.openjdk.java.net/browse/JDK-8269690
This pull request has now been integrated.
Changeset: 3a690240
Author: Mandy Chung <mchung at openjdk.org>
URL: https://git.openjdk.java.net/jdk17/commit/3a690240336bda8582a15ca52f4dcb78be323dcd
Stats: 9 lines in 2 files changed: 9 ins; 0 del; 0 mod
8225667: Clarify the behavior of System::gc w.r.t. reference processing
Reviewed-by: rriggs, kbarrett, tschatzl
-------------
PR: https://git.openjdk.java.net/jdk17/pull/183
More information about the core-libs-dev
mailing list