RFR: 8315998: Remove dead ClassLoaderDataGraphKlassIteratorStatic

Coleen Phillimore coleenp at openjdk.org
Mon Sep 11 13:07:40 UTC 2023


On Mon, 11 Sep 2023 11:59:56 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> Hi all,
> 
>   please review this trivial(?) removal of dead/unused code.
> 
> Testing: local compilation
> 
> Thanks,
>   Thomas

Thanks for removing this.

src/hotspot/share/classfile/classLoaderDataGraph.hpp line 100:

> 98:   static void walk_metadata_and_clean_metaspaces();
> 99: 
> 100:   // VM_CounterDecay iteration support

Oh, nice, I think this was removed with the sweeper.

There's also a function InvocationCounter::decay() that can also be removed (maybe more but that's what I found for now).

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

Marked as reviewed by coleenp (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/15656#pullrequestreview-1619946548
PR Review Comment: https://git.openjdk.org/jdk/pull/15656#discussion_r1321519997


More information about the hotspot-runtime-dev mailing list