RFR: 8280397: Factor out task queue statistics printing
Thomas Schatzl
tschatzl at openjdk.java.net
Mon Jan 24 09:35:04 UTC 2022
On Mon, 24 Jan 2022 09:15:45 GMT, Per Liden <pliden at openjdk.org> wrote:
> [...] I'm thinking all collectors want to log in the same way [...]
That's why I initially put it in `CollectedHeap`, because the _collectors_ should determine where to log to, not necessarily the class. `CollectedHeap` already contains quite a few `print*` methods too.
There also were some experimental uses of `GenericTaskQueue` for other purposes than keeping oops I them recently (still in GC code).
Currently testing a change that simply moves the method as suggested. I do not have a very strong opinion about this.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7174
More information about the hotspot-gc-dev
mailing list