[lilliput-jdk17u:lilliput] RFR: 8310156: [Lilliput/JDK17] Specialize full-GC loops
Roman Kennke
rkennke at openjdk.org
Mon Jun 19 15:01:43 UTC 2023
On Mon, 19 Jun 2023 11:35:13 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
>> src/hotspot/share/gc/g1/g1FullGCOopClosures.inline.hpp line 68:
>>
>>> 66:
>>> 67: template<bool ALT_FWD>
>>> 68: template <class T> inline void G1AdjustClosure<ALT_FWD>::adjust_pointer(T* p) {
>>
>> Suggestion:
>>
>> template <bool ALT_FWD>
>> template <class T> inline void G1AdjustClosure<ALT_FWD>::adjust_pointer(T* p) {
>
> Actually, maybe you want to merge both `template` declarations?
I don't think they can be merged. The first is a class-level template, the second is the method-level template.
-------------
PR Review Comment: https://git.openjdk.org/lilliput-jdk17u/pull/32#discussion_r1234177802
More information about the lilliput-dev
mailing list