RFR: 8328166: Epsilon: 'EpsilonHeap::allocate_work' misuses the parameter 'size' as size in bytes [v2]

Thomas Schatzl tschatzl at openjdk.org
Fri Mar 15 11:11:38 UTC 2024


On Fri, 15 Mar 2024 05:44:08 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
>
> Guoxiong Li has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:
> 
>  - Merge branch 'master' into MISUSE-SIZE
>  - JDK-8328166

Marked as reviewed by tschatzl (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/18303#pullrequestreview-1938675519


More information about the hotspot-gc-dev mailing list