RFR: 8280136: Serial: Remove unnecessary use of ExpandHeap_lock [v3]
Coleen Phillimore
coleenp at openjdk.java.net
Thu Feb 10 17:14:06 UTC 2022
On Thu, 10 Feb 2022 14:58: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
>
> Albert Mingkun Yang has updated the pull request incrementally with one additional commit since the last revision:
>
> fix release build
src/hotspot/share/gc/parallel/psOldGen.cpp line 48:
> 46: #else
> 47: _Expand_lock(Mutex::safepoint, "PSOldGenExpand_lock", true)
> 48: #endif
As per our coding convention, this should be _expand_lock.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7124
More information about the hotspot-dev
mailing list