RFR: 8267703: runtime/cds/appcds/cacheObject/HeapFragmentationTest.java crashed with OutOfMemory [v2]
sjohanss at openjdk.java.net
Wed Jun 2 09:53:36 UTC 2021
On Wed, 2 Jun 2021 07:54:43 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:
>> This was one of the reasons I went with using "just used regions" and skipping the part that each worker will handle a set of regions. In most cases looking at used regions will not limit the workers much, and if it does we don't have much work to do. I've done some benchmarking and not seen any significant regressions with this patch. The biggest problem was not using enough workers for the bitmap-work.
>> Calculating workers per phase might be a good improvement to consider, but that would require some more refactoring.
> Okay. If you think it would take too long, please file an issue for per-phase thread sizing in parallel gc then (if there isn't).
I'll file an RFE.
More information about the hotspot-gc-dev