RFR: 8356774: AArch64: StubGen final stubs buffer too small for ZGC on Cavium CPU
Andrew Dinn
adinn at openjdk.org
Tue May 13 09:32:56 UTC 2025
On Tue, 13 May 2025 08:47:37 GMT, Andrew Dinn <adinn at openjdk.org> wrote:
> Increased final stubs buffer size to allow extra space when running with ZGC enabled on Cavium ThunderX. Cavium is special because it generates stub code to handle unaligned copies. With ZGC enabled this implies a lot more injected barrier code.
n.b. we could always allocate enough storage for ZGC as we do for every other GC. However, that wastes a lot of space when building without ZGC. This is not an uncommon case: the jmod binary used during the build omits ZGC (which is how we found the problem when cross-compiling).
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25203#issuecomment-2875727614
More information about the hotspot-compiler-dev
mailing list