RFR: 8287373: remove unnecessary paddings in generated code [v4]

Doug Simon dnsimon at openjdk.org
Mon Sep 19 11:03:57 UTC 2022


On Mon, 19 Sep 2022 10:53:13 GMT, Doug Simon <dnsimon at openjdk.org> wrote:

>> Boris Ulasevich has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   comment fix
>
> src/hotspot/share/asm/codeBuffer.hpp line 711:
> 
>> 709: inline int CodeSection::alignment(int section) {
>> 710:   if (section == CodeBuffer::SECT_CONSTS) {
>> 711:     return (int) sizeof(jdouble);
> 
> This breaks Graal which puts data items larger than a `jdouble` (e.g.  32-byte vector masks) into the constants section.

I opened https://bugs.openjdk.org/browse/JDK-8293999 to track this.

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

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


More information about the hotspot-dev mailing list