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

Guoxiong Li gli at openjdk.org
Fri Mar 15 05:44:08 UTC 2024


> 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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18303/files
  - new: https://git.openjdk.org/jdk/pull/18303/files/0f2de17f..cf1d602e

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=18303&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18303&range=00-01

  Stats: 3714 lines in 95 files changed: 1766 ins; 1572 del; 376 mod
  Patch: https://git.openjdk.org/jdk/pull/18303.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18303/head:pull/18303

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


More information about the hotspot-gc-dev mailing list