[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:36 UTC 2021
> 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
Mandy Chung has updated the pull request incrementally with one additional commit since the last revision:
Kim's suggestion on the wording
-------------
Changes:
- all: https://git.openjdk.java.net/jdk17/pull/183/files
- new: https://git.openjdk.java.net/jdk17/pull/183/files/e9765984..020a2d7a
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk17&pr=183&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk17&pr=183&range=00-01
Stats: 6 lines in 2 files changed: 0 ins; 0 del; 6 mod
Patch: https://git.openjdk.java.net/jdk17/pull/183.diff
Fetch: git fetch https://git.openjdk.java.net/jdk17 pull/183/head:pull/183
PR: https://git.openjdk.java.net/jdk17/pull/183
More information about the core-libs-dev
mailing list