RFR: 8261804: Remove field _processing_is_mt, calculate it instead

Thomas Schatzl tschatzl at openjdk.java.net
Thu Feb 25 12:00:45 UTC 2021


On Wed, 24 Feb 2021 11:59:48 GMT, Leo Korinth <lkorinth at openjdk.org> wrote:

> In the reference processor, remove _processing_is_mt. Instead calculate its value in its accessor, processing_is_mt().
> 
> This change will remove some state, make RefProcMTDegreeAdjuster a bit simpler and make it much easier to derive when processing is indeed multi threaded.

Please move the implementation of `processing_is_mt` to the .cpp files as @kimbarrett suggested.

Lgtm.

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

Marked as reviewed by tschatzl (Reviewer).

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



More information about the hotspot-gc-dev mailing list