Integrated: 8331557: Serial: Refactor SerialHeap::do_collection

Albert Mingkun Yang ayang at openjdk.org
Fri May 17 09:12:26 UTC 2024


On Thu, 2 May 2024 10:48:12 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> It's probably easier to read the new code directly. The two classes in `serialVMOperations` serve as entrance points to invoke young/full GCs. Some previously hidden decisions are made more obvious, e.g. if a young-gc fails (or will probablly fail), fallback to full-gc.
> 
> Additionally, `StatRecord` is removed, because this kind of info-aggregation should be done outsite VM (by third-party tool).
> 
> Test: tier1-6

This pull request has now been integrated.

Changeset: f1ce9b0e
Author:    Albert Mingkun Yang <ayang at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/f1ce9b0ecce9b506f5bf7a66fcf03c93b9ae8fed
Stats:     566 lines in 15 files changed: 125 ins; 356 del; 85 mod

8331557: Serial: Refactor SerialHeap::do_collection

Reviewed-by: gli, iwalulya

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

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


More information about the serviceability-dev mailing list