RFR: 8339725: Concurrent GC crashed due to GetMethodDeclaringClass [v5]

Erik Österlund eosterlund at openjdk.org
Wed Sep 11 09:30:09 UTC 2024


On Wed, 11 Sep 2024 04:57:36 GMT, Liang Mao <lmao at openjdk.org> wrote:

> General question: if `k->klass_holder()` keeps the class alive, at what point do we "release" this such that class can become not-alive again?

The next safepoint poll. So if you want to keep it alive across a safepoint poll, you need a handle.

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

PR Comment: https://git.openjdk.org/jdk/pull/20907#issuecomment-2343124299


More information about the hotspot-dev mailing list