RFR: 8287151: Remove unused parameter in G1CollectedHeap::mark_evac_failure_object

Albert Mingkun Yang ayang at openjdk.java.net
Mon May 23 11:11:50 UTC 2022


On Mon, 23 May 2022 09:36:10 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> Hi all,
> 
>   please review this trivial? removal of an unused parameter.
> 
> Testing: local compilation
> 
> Thanks,
>   Thomas

Marked as reviewed by ayang (Reviewer).

src/hotspot/share/gc/g1/g1CollectedHeap.hpp line 1255:

> 1253: 
> 1254:   // Mark the live object that failed evacuation in the prev bitmap.
> 1255:   void mark_evac_failure_object(oop obj) const;

I think `const oop obj` is more consistent with surrounding code, even though the order here has no semantic diff.

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

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



More information about the hotspot-gc-dev mailing list