dragonwell-project / dragonwell11

Alibaba Dragonwell11 JDK
https://www.aliyun.com/product/dragonwell
GNU General Public License v2.0
552 stars 111 forks source link

[Backport] 8246718: ParallelGC should not check for forward objects for copy task queue #804

Closed lusou-zhangquan closed 3 weeks ago

lusou-zhangquan commented 3 months ago

After port JDK-8246718 form JDK15, the critical-jOPS of SPECjbb has a nearly 8% improvement on g8a and g8i with a configuration of 8 cores and 16G memory, while max-jOPS was not seen evident changes. Also both the max-jOPS and critical-jOPS have no significant differences on g8y.

image

And those test results are basically similar with JDK-8246718 image

linade commented 3 weeks ago

is this clean backport? or is there a conflict

lusou-zhangquan commented 3 weeks ago

is this clean backport? or is there a conflict

There is a minor conflict with the argument of function push_depth.

(JDK-8245022)[https://bugs.openjdk.org/browse/JDK-8245022] uses ScannerTask to wrap the original oop/narrowOop raw pointer, and it didn't change the flow or information. So it's ok to continue use oop/narrowOop raw pointer on JDK11.