RFR: 8350314: Shenandoah: Capture thread state sync times in GC timings [v3]
Y. Srinivas Ramakrishna
ysr at openjdk.org
Thu Feb 27 02:42:09 UTC 2025
On Wed, 26 Feb 2025 18:56:06 GMT, Xiaolong Peng <xpeng at openjdk.org> wrote:
> I'm not sure how parallelism is calculated, but I think it is caused by the test I was running, the test is very simple and there are only small number of live objects after mark.
Yes that explains it, thanks.
(PS: Parallelism (or really parallel speed-up) is calculated as the ratio of total thread virtual time to the wall-clock (elapsed) time, IIRC. As you noted work in this specific workload is too small for the parallel task overhead, as indicated by the micro-seconds worth of time.)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23759#issuecomment-2686707985
More information about the hotspot-gc-dev
mailing list