RFR: 8328166: Epsilon: 'EpsilonHeap::allocate_work' misuses the parameter 'size' as size in bytes
Guoxiong Li
gli at openjdk.org
Thu Mar 14 13:47:45 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
-------------
Commit messages:
- JDK-8328166
Changes: https://git.openjdk.org/jdk/pull/18303/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18303&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8328166
Stats: 4 lines in 1 file changed: 1 ins; 0 del; 3 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