RFR: 8370732: vmTestbase/nsk/jvmti/AttachOnDemand/attach020/TestDescription.java intermittent fails [v3]

Chris Plummer cjplummer at openjdk.org
Wed Oct 29 03:15:39 UTC 2025


On Wed, 29 Oct 2025 02:45:04 GMT, SendaoYan <syan at openjdk.org> wrote:

> The OOME was occur after 'GC finish event received', so the OOME do not occur during ClassUnloader.eatMemory(), it should be some where after GC enevt.

I'm not sure why seeing the event leads you to think that is it not during ClassUnloader.eatMemory(). The purpose of eatMemory() is to cause a GC. Also, the log says the event occurred on the main thread. Otherwise I would suspect some other thread running concurrently received the exception.

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

PR Comment: https://git.openjdk.org/jdk/pull/28011#issuecomment-3459443628


More information about the serviceability-dev mailing list