RFR: 8210100: ParallelGC should use parallel WeakProcessor

Albert Mingkun Yang ayang at openjdk.java.net
Sat Mar 6 09:16:15 UTC 2021


Benchmarking using specjvm2008 shows "Weak Processing" takes <1ms. There are >800 occurrences where "Weak Processing" takes >0.4ms, while only 5 occurrences after the patch, as shown in gc logs.

PS: I changed the log level from Debug to Info for "Weak Processing" for benchmarking in order not limit the logs.

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

Commit messages:
 - weak

Changes: https://git.openjdk.java.net/jdk/pull/2851/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2851&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8210100
  Stats: 25 lines in 2 files changed: 21 ins; 2 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2851.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2851/head:pull/2851

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



More information about the hotspot-gc-dev mailing list