RFR: 8293999: [JVMCI] need support for aligned constants in generated code larger than 8 bytes

Doug Simon dnsimon at openjdk.org
Mon Oct 24 08:40:54 UTC 2022


On Thu, 22 Sep 2022 14:30:10 GMT, Boris Ulasevich <bulasevich at openjdk.org> wrote:

> 8293999: [JVMCI] need support for aligned constants in generated code larger than 8 bytes

src/hotspot/share/asm/codeBuffer.hpp line 755:

> 753:     if (EnableJVMCI) {
> 754:       // Graal vectorization requires larger aligned constants
> 755:       return 64;

This means all Graal installed code will pay a penalty even though most installed code does not include constants that need such large alignment. It would be preferable to allow a compiler to specify the alignment requirement per nmethod.

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

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


More information about the hotspot-compiler-dev mailing list