RFR: 8329781: Serial: Remove serialFullGC.inline.hpp [v2]

Albert Mingkun Yang ayang at openjdk.org
Thu Apr 11 15:28:43 UTC 2024


On Thu, 11 Apr 2024 15:00:35 GMT, Guoxiong Li <gli at openjdk.org> wrote:

>> src/hotspot/share/gc/serial/serialFullGC.cpp line 616:
>> 
>>> 614: }
>>> 615: 
>>> 616: template <class T> inline void SerialFullGC::adjust_pointer(T* p) {
>> 
>> This new code should be after "void MarkAndPushClosure::do_oop(narrowOop* p) { do_oop_work(p); }" so that `mark_and_push` is next to its caller.
>
> Moved.

The "inline" keyword can be dropped, both in hpp and cpp.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18744#discussion_r1561219413


More information about the hotspot-gc-dev mailing list