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

Coleen Phillimore coleenp at openjdk.org
Mon Jan 5 13:31:31 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

Looks good and trivial.

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

Marked as reviewed by coleenp (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/29027#pullrequestreview-3626845317


More information about the hotspot-runtime-dev mailing list