RFR: 8271884: G1CH::_expand_heap_after_alloc_failure is no longer needed

Ivan Walulya iwalulya at openjdk.java.net
Fri Aug 6 11:00:39 UTC 2021


Hi,

Please review this change to remove _expand_heap_after_alloc_failure. Checks for old_is_full(), survivor_is_full(), and G1CollectedHeap::has_more_regions() should eliminate repeated expansion attempts.

Testing; tier 1

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

Commit messages:
 - remove _expand_heap_after_alloc_failure

Changes: https://git.openjdk.java.net/jdk/pull/5030/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5030&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8271884
  Stats: 15 lines in 2 files changed: 0 ins; 13 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5030.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5030/head:pull/5030

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



More information about the hotspot-gc-dev mailing list