RFR: 8280136: Serial: Remove unnecessary use of ExpandHeap_lock

Albert Mingkun Yang ayang at openjdk.java.net
Thu Feb 10 13:32:44 UTC 2022


On Tue, 18 Jan 2022 12:03:46 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> This PR consists of two commits:
> 
> 1. remove `ExpandHeap_lock` in Serial GC code.
> 2. rename it to `ParallelExpandHeap_lock` to indicate it's Parallel-GC only.
> 
> Test: tier1-6

I have moved the mutex inside `PSOldGen` to reduce its scope.

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

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


More information about the hotspot-dev mailing list