RFR: 8271884: G1CH::_expand_heap_after_alloc_failure is no longer needed [v2]

Ivan Walulya iwalulya at openjdk.java.net
Wed Aug 11 08:39:03 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

Ivan Walulya has updated the pull request incrementally with one additional commit since the last revision:

  check *_is_full status after acquiring FreeList_lock

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/5030/files
  - new: https://git.openjdk.java.net/jdk/pull/5030/files/df0ef880..096e815f

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5030&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5030&range=00-01

  Stats: 14 lines in 1 file changed: 4 ins; 0 del; 10 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