RFR: 8371788: Fix documentation for CollectedHeap::collect(GCCause)

Albert Mingkun Yang ayang at openjdk.org
Thu Nov 13 11:55:52 UTC 2025


On Thu, 13 Nov 2025 11:33:53 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> Hi all,
> 
>   please review this trivial fix of the documentation of `Collectedheap::collect()` and all its overrides to indicate that it's not just used for `System.gc()` and will do a full collection.
> 
> Testing: local compilation
> 
> Thanks,
>   Thomas

Marked as reviewed by ayang (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/28289#pullrequestreview-3459422326


More information about the hotspot-gc-dev mailing list