RFR: 8343767: Enumerate StubGen blobs, stubs and entries and generate code from declarations [v5]

Vladimir Ivanov vlivanov at openjdk.org
Fri Nov 22 04:10:30 UTC 2024


On Thu, 21 Nov 2024 17:50:57 GMT, Andrew Dinn <adinn at openjdk.org> wrote:

>> Implementation of JDK-8343767
>
> Andrew Dinn has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 55 additional commits since the last revision:
> 
>  - Merge branch 'master' into iterate_stubs
>  - fix element sizes in s390 copy routines
>  - fix stub is and align flags for s390
>  - fix comments and remove unused stubid on riscv
>  - locate super lookup stubs in same blob for all arches
>  - do verification under ifdef ASSERT
>  - fix yet more problems with s390 stubs
>  - better error notification
>  - fix more problems with s390 stubs
>  - Verify stubs are generated in correct blob
>  - ... and 45 more: https://git.openjdk.org/jdk/compare/83ba7fe7...e21268c4

I submitted it for testing and it seems the build is mostly broken on x86 when `UseAVX=3` is set. I even tried to manually build the patch on an AVX512-capable host and it reliably fails early during startup:

Error occurred during initialization of boot layer
java.lang.module.FindException: Error reading module: /scratch/vlivanov/jdk/build/linux-x64-fastdebug/jdk/modules/java.base
Caused by: java.lang.module.InvalidModuleDescriptorException: Bad constant pool entry: 90

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

PR Comment: https://git.openjdk.org/jdk/pull/21957#issuecomment-2492836027


More information about the hotspot-dev mailing list