RFR: 8308762: Metaspace leak with Instrumentation.retransform [v6]

Jean-Philippe Bempel jpbempel at openjdk.org
Wed Sep 20 07:59:43 UTC 2023


On Wed, 20 Sep 2023 00:05:01 GMT, David Holmes <dholmes at openjdk.org> wrote:

> Is it simply setting metaspace size small enough that the 500 iterations would exhaust metaspace if there were a leak?

yes exactly. with a leak  you end up with `OutOfMemoryError: metaspace` running the test

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14780#discussion_r1331182331


More information about the hotspot-dev mailing list