RFR: 8283368: G1: Remove G1SegmentedArraySegment MEMFLAGS template parameter

Ivan Walulya iwalulya at openjdk.java.net
Mon Mar 21 14:08:01 UTC 2022


Hi all,

Please review this change to remove the MEMFLAGS template parameter for G1SegmentedArraySegment and make it a runtime configuration parameter. This reduces on the code bloat due to templating because many of the methods in G1SegmentedArraySegment are independent of the template parameter.

Thanks
Ivan

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

Commit messages:
 - initial

Changes: https://git.openjdk.java.net/jdk/pull/7891/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7891&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8283368
  Stats: 584 lines in 9 files changed: 272 ins; 239 del; 73 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7891.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7891/head:pull/7891

PR: https://git.openjdk.java.net/jdk/pull/7891



More information about the hotspot-gc-dev mailing list