Integrated: 8330000: ZGC: ZObjArrayAllocator may unnecessarily clear TypeArrays twice

Axel Boldt-Christmas aboldtch at openjdk.org
Thu Apr 11 08:54:47 UTC 2024


On Wed, 10 Apr 2024 11:46:12 GMT, Axel Boldt-Christmas <aboldtch at openjdk.org> wrote:

> The segmented array allocation in ZObjArrayAllocator for TypeArrays will restart the segmented clearing if it encounters a safepoint. This is unnecessary for TypeArrays.
> 
> Tested ZGC tests tier1-7

This pull request has now been integrated.

Changeset: 8817ba45
Author:    Axel Boldt-Christmas <aboldtch at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/8817ba450c0eac6f7c1ff19b16c11a26ff2ed109
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8330000: ZGC: ZObjArrayAllocator may unnecessarily clear TypeArrays twice

Reviewed-by: stefank, eosterlund

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

PR: https://git.openjdk.org/jdk/pull/18713


More information about the hotspot-gc-dev mailing list