RFR: 8301465: Remove unnecessary nmethod arming in Full GC of Serial/Parallel
Thomas Schatzl
tschatzl at openjdk.org
Tue Jan 31 10:23:58 UTC 2023
On Tue, 31 Jan 2023 09:18:08 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:
> Simple removing unnecessary code and adding API documentation.
>
> Test: hotspot_gc
Changes requested by tschatzl (Reviewer).
src/hotspot/share/code/codeCache.cpp line 880:
> 878: // nmethods are visited.
> 879: // 2. Used at the end of (stw/concurrent) marking so that nmethod::_gc_epoch is
> 880: // up-to-date, which provides more accurate estimate of nmethod::is_cold.
I would prefer to have general documentation and usage information about a method in the .hpp file.
-------------
PR: https://git.openjdk.org/jdk/pull/12311
More information about the hotspot-dev
mailing list