RFR: 8305757: Call Method::compute_has_loops_flag() when creating CDS archive [v3]
Coleen Phillimore
coleenp at openjdk.org
Mon Apr 17 17:46:34 UTC 2023
On Mon, 17 Apr 2023 17:14:03 GMT, Ioi Lam <iklam at openjdk.org> wrote:
>> A simple optimization -- call Method::compute_has_loops_flag() for all methods during CDS archive dump. This way, the JIT doesn't need to do this at runtime.
>
> Ioi Lam has updated the pull request incrementally with one additional commit since the last revision:
>
> Move the optimization into MetaspaceShared::try_link_class() where it more naturally belong
Seems like a good thing to do.
-------------
Marked as reviewed by coleenp (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/13390#pullrequestreview-1388657686
More information about the hotspot-runtime-dev
mailing list