RFR: 8317350: Move code cache purging out of CodeCache::UnloadingScope
Albert Mingkun Yang
ayang at openjdk.org
Tue Oct 17 11:54:55 UTC 2023
On Tue, 17 Oct 2023 09:19:05 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:
> UnloadingScope should be called something different, maybe after this discussion something like UnlinkingScope or similar?
OK, the new-scope starts to make sense if it's named `UnlinkingScope`.
In my mind, the concept of `UnloadingScope` includes unlinking + purging; the implementation supports my understanding, as I believe the destructor still belongs to the obj-on-stack. However, I now realize that this interpretation could be subjective.
> This change only at most exposes the existing (as you say ugly - I agree) structure.
OK, that's all I wanna convey. Maybe this is an inevitable transient state.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16011#discussion_r1361991674
More information about the shenandoah-dev
mailing list