RFR: 8275381 G1: refactor 2 constructors of G1CardSetConfiguration [v2]
Albert Mingkun Yang
ayang at openjdk.java.net
Fri Oct 22 07:45:08 UTC 2021
On Fri, 22 Oct 2021 01:09:29 GMT, Hamlin Li <mli at openjdk.org> wrote:
>> 2 constructors of G1CardSetConfiguration share some code, it's better to refacoring them to simplify the code.
>
> Hamlin Li has updated the pull request incrementally with one additional commit since the last revision:
>
> Refine naming
I overlooked the `_num_buckets_in_howl` issue at that time. How about using 3 constructors? Sth like: https://github.com/openjdk/jdk/compare/master...albertnetymk:2-ctor?expand=1
PS: I didn't test it much; it's just to show the gist.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6033
More information about the hotspot-gc-dev
mailing list