Integrated: 8269908: Move MemoryService::track_memory_usage call into G1MonitoringScope

Thomas Schatzl tschatzl at openjdk.java.net
Wed Jul 7 07:42:50 UTC 2021


On Tue, 6 Jul 2021 12:26:38 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> Hi all,
> 
>   can I have reviews for this tiny change that moves the `MemoryService::track_memory_usage()` call into the destructor of `G1MonitoringScope` so that all jstat/mxbeans related reporting is handled by that single place?
> 
> Testing: tier1-3
> 
> Thanks,
>   Thomas

This pull request has now been integrated.

Changeset: 18b80c70
Author:    Thomas Schatzl <tschatzl at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/18b80c70f8e3ca010461e184d71829cd8f8e9269
Stats:     5 lines in 2 files changed: 4 ins; 1 del; 0 mod

8269908: Move MemoryService::track_memory_usage call into G1MonitoringScope

Reviewed-by: ayang, kbarrett

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

PR: https://git.openjdk.java.net/jdk/pull/4687



More information about the hotspot-gc-dev mailing list