[External] : RE: RFC: x86_64: Fixing the align() macro
dean.long at oracle.com
dean.long at oracle.com
Wed Aug 25 00:23:25 UTC 2021
Hi Scott,
On 8/24/21 8:07 AM, Gibbons, Scott wrote:
> Allocating all segment buffers with 64-byte alignment would be easier
yes. Are there any disadvantages (see below)?
> and less wasteful of memory.
I disagree, unless you expect most methods to require the higher
alignment. Also, I'm worried about icache performance. We have tricks
in the JVM to adjust field offsets to decrease dcache conflicts.
Doesn't increasing the code alignment have the same negative affect on
the icache? Have you tried a prototype and collected performance numbers?
dl
More information about the hotspot-dev
mailing list