Integrated: 8361844: Build without C1 or C2 fails after 8360707

Andrew Dinn adinn at openjdk.org
Thu Jul 10 17:25:44 UTC 2025


On Thu, 10 Jul 2025 12:11:43 GMT, Andrew Dinn <adinn at openjdk.org> wrote:

> After [JDK-8360707](https://bugs.openjdk.org/browse/JDK-8360707) builds which omit C1 or C2 can generate an exploded jdk which fails on startup with an assert:
> 
>     assert(idx2 >= 0 && idx2 >= idx1) failed: bad blob ids first -1 and second -1
> 
> The problem is that the blob and stub id verification expects the blob, stub and entry ranges in the C1 and C2 stub groups to be positive. However, when C1 or C2 is omitted the associated range starts and ends are NO_BLOBID, NO_STUBID and NO_ENTRYID (all -1) and this breaks some of the internal consistency checks that test the span of blob, stub and entry ranges.

This pull request has now been integrated.

Changeset: 3d74cbe0
Author:    Andrew Dinn <adinn at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/3d74cbe0ac9b68dfc161a4c079b695a320a0e133
Stats:     42 lines in 1 file changed: 30 ins; 0 del; 12 mod

8361844: Build without C1 or C2 fails after 8360707

Reviewed-by: kvn

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

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


More information about the hotspot-dev mailing list