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

Thomas Schatzl tschatzl at openjdk.org
Thu Nov 13 13:55:28 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

This pull request has now been integrated.

Changeset: bbc0f9ef
Author:    Thomas Schatzl <tschatzl at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/bbc0f9ef30c467c8da8b873813bde50a7e9ff697
Stats:     10 lines in 4 files changed: 0 ins; 9 del; 1 mod

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

Reviewed-by: ayang, iwalulya

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

PR: https://git.openjdk.org/jdk/pull/28289


More information about the hotspot-gc-dev mailing list