RFR: JDK-8275856: Remove MetaspaceHandleDeallocations debug switch
Coleen Phillimore
coleenp at openjdk.java.net
Wed Oct 27 12:33:16 UTC 2021
On Mon, 25 Oct 2021 07:48:58 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> `MetaspaceHandleDeallocations` can be used to switch off deallocation handling (which takes care of reusing prematurely deallocated metaspace blocks in case of e.g. class redefinitions or class loading errors). Technically this is a leak then, the intent was to switch off the deallocation handling for error analysis.
>
> It had been very rarely used, only in the first stages of JEP 387, and it is not covered by tests. I propose to remove it to reduce code complexity.
>
> Tests: GHAs, manual tests (note that we have regression tests in place for deallocation handling), SAP nightlies
Looks good to me.
-------------
Marked as reviewed by coleenp (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/6098
More information about the hotspot-runtime-dev
mailing list