Integrated: 8374456: JVM crashes with "assert(resolved_method->method_holder()->is_linked()) failed: must be linked" when run with large value for PreallocatedOutOfMemoryErrorCount

David Holmes dholmes at openjdk.org
Mon Jan 5 20:13:40 UTC 2026


On Mon, 5 Jan 2026 06:56:26 GMT, David Holmes <dholmes at openjdk.org> wrote:

> Please review this trivial fix to add a `range(0,1024)` to the develop flag `PreallocatedOutOfMemoryErrorCount` to avoid absurdly large values from causing a crash. Anyone who needs an even larger value can easily change it directly.
> 
> Testing: manual (no regression test warranted)
> 
> Thanks

This pull request has now been integrated.

Changeset: de81d389
Author:    David Holmes <dholmes at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/de81d38995356a2e8528a419ebd445e79cd136d1
Stats:     2 lines in 1 file changed: 1 ins; 0 del; 1 mod

8374456: JVM crashes with "assert(resolved_method->method_holder()->is_linked()) failed: must be linked" when run with large  value for PreallocatedOutOfMemoryErrorCount

Reviewed-by: coleenp

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

PR: https://git.openjdk.org/jdk/pull/29027


More information about the hotspot-runtime-dev mailing list