RFR: 8310031: Parallel: Implement better work distribution for large object arrays in old gen [v5]

Albert Mingkun Yang ayang at openjdk.org
Fri Sep 15 11:48:43 UTC 2023


On Thu, 14 Sep 2023 15:38:59 GMT, Richard Reingruber <rrich at openjdk.org> wrote:

> These are the results I get.

I get similar ones using the latest revision. `DelayInducer` also shows improvement.

Then, I changed the bm slightly, `static final int stride = 32 * 64;` for more scarce dirty cards and got huge (~300x) regression on my box.


## baseline

[0.006s][info][gc] Using Parallel
[1.430s][info][gc] GC(0) Pause Young (Allocation Failure) 1791M->1027M(2944M) 248.338ms
[1.788s][info][gc] GC(1) Pause Young (Allocation Failure) 1795M->1027M(2944M) 241.907ms

## new

[0.003s][info][gc] Using Parallel
[83.072s][info][gc] GC(0) Pause Young (Allocation Failure) 1791M->1027M(2944M) 81936.186ms
[165.091s][info][gc] GC(1) Pause Young (Allocation Failure) 1795M->1027M(2944M) 81905.387ms

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

PR Comment: https://git.openjdk.org/jdk/pull/14846#issuecomment-1721141251


More information about the hotspot-gc-dev mailing list