RFR: JDK-8293114: GC should trim the native heap [v11]
Thomas Stuefe
stuefe at openjdk.org
Thu Jul 6 10:16:25 UTC 2023
On Wed, 5 Jul 2023 17:45:37 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
>> Thomas Stuefe has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 41 commits:
>>
>> - fix windows build
>> - Merge branch 'master' into JDK-8293114-GC-trim-native
>> - wip
>> - Merge branch 'master' into JDK-8293114-GC-trim-native
>> - wip
>> - Remove adaptive stepdown coding
>> - Merge master
>> - wip
>> - Merge branch 'master' into JDK-8293114-GC-trim-native
>> - wip
>> - ... and 31 more: https://git.openjdk.org/jdk/compare/22e17c29...162b880a
>
> src/hotspot/share/gc/g1/g1CollectedHeap.cpp line 918:
>
>> 916: }
>> 917:
>> 918: TrimNative::PauseMark trim_native_pause("gc");
>
> Maybe instead of whack-a-mole game of putting the pause in most GC safepoint ops, we should "just" put this mark straight into `VMOperation`, so that _all_ safepoint ops are covered? Or, if we want to limit to GC ops, `VM_GC_Operation`?
Oh, this is a good idea.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/10085#discussion_r1254232411
More information about the hotspot-gc-dev
mailing list