RFR: 8268952: Automatically update heap sizes in G1MonitoringScope

Thomas Schatzl tschatzl at openjdk.java.net
Mon Jun 21 08:26:28 UTC 2021


On Sat, 19 Jun 2021 05:48:38 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

>> Hi,
>> 
>>   can I have reviews to factor out the call to `G1MonitoringScope::update_sizes()` into the destructor of that class? Currently all users seem to call this manually close to the end of the scope `G1MonitoringScope` is in.
>> 
>> Testing: tier1-5
>> 
>> Thanks,
>>   Thomas
>
> Looks good.

Thanks @kimbarrett for your review.

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

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



More information about the hotspot-gc-dev mailing list