RFR: 8274987 G1: reuse the newly allocated G1SegmentedArrayBuffer even if current thread failed the race
Hamlin Li
mli at openjdk.java.net
Wed Oct 20 08:56:24 UTC 2021
This is a follow-up of JDK-8273626.
Current (original) implementation just drops the newly allocated G1SegmentedArrayBuffer if current thread fails race, but seems reuse (e.g adding to freelist) will bring some benefit.
-------------
Commit messages:
- Initial commit
Changes: https://git.openjdk.java.net/jdk/pull/6034/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6034&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8274987
Stats: 25 lines in 2 files changed: 17 ins; 1 del; 7 mod
Patch: https://git.openjdk.java.net/jdk/pull/6034.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/6034/head:pull/6034
PR: https://git.openjdk.java.net/jdk/pull/6034
More information about the hotspot-gc-dev
mailing list