RFR: 8365558: Fix stub entry init and blob creation on Zero [v3]

Andrew Dinn adinn at openjdk.org
Fri Aug 15 15:21:26 UTC 2025


On Fri, 15 Aug 2025 14:59:11 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> This is for the case where the blob size is declared as zero in stubDeclarations.hpp. That means we don't need a blob. So, in that case I think we need to do assert that no code was generated, skip the blob creation and return nullptr.
>
> I mean, currently `return` is under `if (lt.is_enabled())` condition. It should be outside it.

Ah, yes! Thanks for the correction. Fixed.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26787#discussion_r2279202393


More information about the hotspot-dev mailing list