Integrated: 8365558: Fix stub entry init and blob creation on Zero

Andrew Dinn adinn at openjdk.org
Fri Aug 15 22:16:17 UTC 2025


On Thu, 14 Aug 2025 19:07:32 GMT, Andrew Dinn <adinn at openjdk.org> wrote:

> Fix two problems with Zero blob/stub entry initialization:
> 1. Stop Zero allocating AdapterBlobs for the default set of i2c2i adapters even though it cannot ever use them.
> 2. Allow Zero to execute its stubgen init functions even though it is not generating code into a code buffer (i.e when blob size is declared as zero). This still allows it initialize entries to point to C functions. n.b. this was broken when [JDK-8359373](https://bugs.openjdk.org/browse/JDK-8359373) introduced the preuniverse Stubgen stub group.

This pull request has now been integrated.

Changeset: b023fea0
Author:    Andrew Dinn <adinn at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/b023fea06216d5196592ff5239dc592aa8e34a02
Stats:     50 lines in 4 files changed: 30 ins; 8 del; 12 mod

8365558: Fix stub entry init and blob creation on Zero

Reviewed-by: asmehra, kvn

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

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


More information about the hotspot-dev mailing list