Integrated: 8328166: Epsilon: 'EpsilonHeap::allocate_work' misuses the parameter 'size' as size in bytes

Guoxiong Li gli at openjdk.org
Fri Mar 15 13:09:13 UTC 2024


On Thu, 14 Mar 2024 13:42:45 GMT, Guoxiong Li <gli at openjdk.org> wrote:

> Hi all,
> 
> The method `EpsilonHeap::allocate_work` misuses the parameter `size` as size in bytes. Actually, the parameter `size` is size in words. This patch fixes it.
>  
> The test command `make test TEST=test/hotspot/jtreg/gc/epsilon` passed locally.
> 
> Thanks for taking the time to review.
> 
> Best Regards,
> -- Guoxiong

This pull request has now been integrated.

Changeset: 90ab52e5
Author:    Guoxiong Li <gli at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/90ab52e598f74ed872fe404130d57f6596430727
Stats:     4 lines in 1 file changed: 1 ins; 0 del; 3 mod

8328166: Epsilon: 'EpsilonHeap::allocate_work' misuses the parameter 'size' as size in bytes

Reviewed-by: shade, tschatzl

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

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


More information about the hotspot-gc-dev mailing list